workflows: ignore webservice errors when evaluating evolution emptyness (#24241)

This commit is contained in:
Frédéric Péters 2018-06-03 07:00:33 +02:00
parent 25d0af3a4c
commit a1d072bd0f
1 changed files with 1 additions and 1 deletions

View File

@ -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('<div class="ws-error">')