Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions SitePackage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ local function errwarnmsg_hook(kind, key, msg, t)
errmsg[#errmsg+1] = "\n"

msg = table.concat(errmsg, "\n")

-- customise warning that is produced when a module that a cluster/ module depends on gets unloaded;
-- default: "The following dependent module(s) are not currently loaded"
elseif key == "w_MissingModules" then
dbg.print(t)
msg = "blah blah blah"
end

if kind == "lmoderror" or kind == "lmodwarning" then
Expand Down