Fix jsonv2 log format
@ -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):
@ -47,7 +47,7 @@ def exit_with_error(format_, message):
"sourceFormat": "",
"sourceList": [],
"meta": {
"logs": [{"level": "error", "hidden": "true", "error": message}]
"logs": [{"level": "error", "hidden": "true", "msg": message}]
},
}
]