Skip to content

Commit c460517

Browse files
Show publish error json prettier.
1 parent 155f164 commit c460517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fusesoc/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def core_publish(fs, args):
333333
if not res.ok:
334334
print("Request returned http result", res.status_code, res.reason)
335335
err = json.loads(res.content)
336-
print(str(err))
336+
print(json.dumps(err, indent=4))
337337
res.close()
338338
fob_core.close()
339339
if fob_sig:

0 commit comments

Comments
 (0)