From: Jeremy Stanley Date: Sat, 29 Jul 2017 18:31:40 +0000 (+0000) Subject: Log missing file inclusions as more severe X-Git-Tag: 0.0.1~146 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=ec67d85b3081695865850e07ce8fcacb842159f8 Log missing file inclusions as more severe When another file is included with an inc macro in text, being unable to load that file could indicate a fairly serious configuration error. Increase the severity of the log message for this so that it will be more easily noticed and caught in testing. --- diff --git a/mudpy/misc.py b/mudpy/misc.py index f57fec3..1d2ffff 100644 --- a/mudpy/misc.py +++ b/mudpy/misc.py @@ -1307,7 +1307,7 @@ def replace_macros(user, text, is_input=False): replacement = replacement[:-2] else: replacement = "" - log("Couldn't read included " + incfile + " file.", 6) + log("Couldn't read included " + incfile + " file.", 7) # if we get here, log and replace it with null else: