workflows: use json_loads wrapper when displaying wscall error details (#36515)
This commit is contained in:
parent
dabe208677
commit
72bd7af167
|
@ -62,7 +62,7 @@ class JournalWsCallErrorPart: #pylint: disable=C1001
|
|||
r += htmltext('<p>%s</p>\n') % self.summary
|
||||
if self.data:
|
||||
try:
|
||||
json_data = json.loads(self.data)
|
||||
json_data = json_loads(self.data)
|
||||
except ValueError:
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue