Module: check_mk
Branch: master
Commit: e60438931d53556c53158f5637ac95a14c9d377d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e60438931d5355…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 6 13:36:13 2018 +0100
5721 FIX Saving backup jobs: Fixed AttributeError() occuring while handling an exception
Change-Id: Ieb58946306aba5eaafdc8a947571df766a193a92
---
.werks/5721 | 11 +++++++++++
web/htdocs/wato.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/5721 b/.werks/5721
new file mode 100644
index 0000000..6220560
--- /dev/null
+++ b/.werks/5721
@@ -0,0 +1,11 @@
+Title: Saving backup jobs: Fixed AttributeError() occuring while handling an exception
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i3
+Date: 1517920517
+
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 59734a6..cf63004 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -5842,7 +5842,7 @@ class SiteBackupJobs(backup.Jobs):
close_fds=True, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, stdin=open(os.devnull))
if p.wait() != 0:
- raise MKGeneralException(_("Failed to apply the cronjob config:
%s") % p.stderr.read())
+ raise MKGeneralException(_("Failed to apply the cronjob config:
%s") % p.stdout.read())