Module: check_mk
Branch: master
Commit: 936a362e0ff73d521166f9c65b0af6bc17126382
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=936a362e0ff73d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Nov 14 12:12:11 2013 +0100
Reenabled exception in notify_mobilant.py
---
doc/treasures/notify_mobilant.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/treasures/notify_mobilant.py b/doc/treasures/notify_mobilant.py
index 8ef09a9..734313b 100755
--- a/doc/treasures/notify_mobilant.py
+++ b/doc/treasures/notify_mobilant.py
@@ -67,6 +67,6 @@ try:
else:
sys.stderr.write("Error sending SMS to %s: %s\n" % (to,
exitcodes.get(response, "Invalid exit code %s" % response)))
sys.stderr.write("URL was %s\n" % url)
-except 1: # Exception, e:
+except Exception, e:
sys.stderr.write("Error sending SMS to %s. Exception: %s%s\n" % e)