Commit fbe73ebf authored by Florian Pritz's avatar Florian Pritz
Browse files

Write upload failed error to stderr


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent f5ce0071
......@@ -77,7 +77,7 @@ class ArchiveUploader:
filename = os.path.basename(f)
self.db.add_file(filename)
else:
print(f"Upload failed with status code '{code}' for directory '{directory}' and file: {f}")
print(f"Upload failed with status code '{code}' for directory '{directory}' and file: {f}", file=sys.stderr)
except Exception as e:
print(f"{identifier}: exception raised", file=sys.stderr)
print(e, file=sys.stderr)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment