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

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")