From ec67d85b3081695865850e07ce8fcacb842159f8 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 29 Jul 2017 18:31:40 +0000 Subject: [PATCH] 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. --- mudpy/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.11.0