aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/msec/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/msec/config.py b/src/msec/config.py
index e020288..3c84d1f 100644
--- a/src/msec/config.py
+++ b/src/msec/config.py
@@ -303,7 +303,9 @@ class ExceptionConfig:
try:
fd = open(self.config)
except:
- self.log.error(_("Unable to load configuration file %s: %s") % (self.config, sys.exc_value[1]))
+ # this file is optional, so if it is not found that's not fatal
+ self.log.info(_("loading exceptions file %s: %s") % (self.config, sys.exc_value[1]))
+ self.log.info(_("No exceptions loaded"))
return False
for line in fd.readlines():
line = line.strip()