Fix jsonv2 log format

pull/1000/head
Dominik Muhs 6 years ago
parent 0615a2a219
commit 6b70e1e10a
  1. 2
      mythril/analysis/report.py

@ -185,7 +185,7 @@ class Report:
return {}
logs = [] # type: List[Dict]
for exception in self.exceptions:
logs += [{"level": "error", "hidden": "true", "error": exception}]
logs += [{"level": "error", "hidden": "true", "msg": exception}]
return {"logs": logs}
def as_swc_standard_format(self):

Loading…
Cancel
Save