Module: check_mk
Branch: master
Commit: 1ba5909288a95376ac978526d03de600a0ad637a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1ba5909288a953…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jan 19 15:44:32 2016 +0100
Fix exception in error message if module cannot be loaded
---
modules/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 3e52e02..73bd9e1 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -293,7 +293,7 @@ try:
load_module(module)
except Exception, e:
- sys.stderr.write("Cannot read file %s: %s\n" % (filename, e))
+ sys.stderr.write("Cannot read module %s: %s\n" % (module, e))
sys.exit(5)