From 5b78bb218cc48207bc3943bd1eb0a34a9f7b60c3 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 1 Dec 2023 10:25:51 +0100 Subject: [PATCH] upload_symbols: give some feedback Change-Id: I2a1faa91ec502cfe8b62324f8fa80264bdb9d31f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160197 Tested-by: Xisco Fauli Reviewed-by: Xisco Fauli --- bin/upload_symbols.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/upload_symbols.py b/bin/upload_symbols.py index fc6a2d8c1c95..f0ae2dcf3ca3 100755 --- a/bin/upload_symbols.py +++ b/bin/upload_symbols.py @@ -48,7 +48,11 @@ def main(): data['csrfmiddlewaretoken'] = csrftoken - session.post(upload_url, headers=headers, files=files, data=data) + response = session.post(upload_url, headers=headers, files=files, data=data) + if response.ok: + print("Symbols uploaded successfully") + else: + print(response.text) if __name__ == "__main__":