From fdcaaaab4e2a45c08fd45ad5b1ae74ff1f2d86df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 3 Jun 2018 07:00:33 +0200 Subject: [PATCH] workflows: ignore webservice errors when evaluating evolution emptyness (#24241) --- wcs/wf/wscall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcs/wf/wscall.py b/wcs/wf/wscall.py index ef9cc6f6..111474c4 100644 --- a/wcs/wf/wscall.py +++ b/wcs/wf/wscall.py @@ -45,7 +45,7 @@ class JournalWsCallErrorPart: #pylint: disable=C1001 self.data = data[:10000] # beware of huge responses def view(self): - if not get_request().get_path().startswith('/backoffice/'): + if not (get_request() and get_request().get_path().startswith('/backoffice/')): return '' r = TemplateIO(html=True) r += htmltext('
') -- 2.17.1