Module: check_mk
Branch: master
Commit: 39c82e37d56e9e6031eb22e75d05a76c5df101ed
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=39c82e37d56e9e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Apr 7 17:28:25 2016 +0200
Fixed missed cleanup during this week prediction fixes
---
web/htdocs/prediction.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/prediction.py b/web/htdocs/prediction.py
index 2caf7c6..00490d7 100644
--- a/web/htdocs/prediction.py
+++ b/web/htdocs/prediction.py
@@ -232,7 +232,7 @@ def get_rrd_data(hostname, service_description, varname, cf, fromtime,
untiltime
try:
response = sites.live().query_row(query)[0]
except Exception, e:
- if opt_debug:
+ if config.debug:
raise
raise MKGeneralException("Cannot get historic metrics via Livestatus:
%s" % e)