Module: check_mk
Branch: master
Commit: 884910bb0b867bcde05ac7eb91506402e0d71a92
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=884910bb0b867b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 20 12:50:06 2012 +0100
Keep hook exceptions also in debug mode
---
web/htdocs/hooks.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/hooks.py b/web/htdocs/hooks.py
index 8e3ca04..7a93e98 100644
--- a/web/htdocs/hooks.py
+++ b/web/htdocs/hooks.py
@@ -56,5 +56,4 @@ def call(name, *args):
traceback.print_exception(t, v, tb, None, txt)
html.show_error("<h3>" + _("Error executing
hook") + " %s #%d: %s</h3>"
"<pre>%s</pre>" % (name, n, e,
txt.getvalue()))
- else:
- raise
+ raise