1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Fix #307 error reporting on fetch failures

This commit is contained in:
Anatoli Babenia
2021-10-02 14:50:11 +03:00
parent a18e6d8089
commit ac3ed3cce2
+1 -1
View File
@@ -63,7 +63,7 @@ def fetch_all(skip_existing=True):
raise
output = process.communicate()[0]
if process.returncode != 0:
sys.stdout.write("\nERROR:\n---\n" + output)
sys.stdout.write("\nERROR:\n---\n" + str(output))
fatal("---\nCould not fetch %s" % adptr)
else:
print("Done")