workflows: ignore webservice errors when evaluating evolution emptyness (#24241)
This commit is contained in:
parent
25d0af3a4c
commit
a1d072bd0f
|
@ -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">')
|
||||
|
|
Loading…
Reference in New Issue