Skip to content

Commit 4a229af

Browse files
Show publish error json prettier.
1 parent 865d58e commit 4a229af

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
@@ -342,7 +342,7 @@ def core_publish(fs, args):
342342
if not res.ok:
343343
print("Request returned http result", res.status_code, res.reason)
344344
err = json.loads(res.content)
345-
print(str(err))
345+
print(json.dumps(err, indent=4))
346346
res.close()
347347
fob_core.close()
348348
if fob_sig:

0 commit comments

Comments
 (0)