about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-06-21 13:40:57 +0200
committerRalf Jung <post@ralfj.de>2019-06-21 13:40:57 +0200
commitfb2f841867208fd155caff8af4d47b4067f7f845 (patch)
treeb39676d097a17fef2f0bd4a49281f5b33a9fe582
parenta8b2b1c7b38fadfeb5a2ff64193c4a735df4a5d0 (diff)
downloadrust-fb2f841867208fd155caff8af4d47b4067f7f845.tar.gz
rust-fb2f841867208fd155caff8af4d47b4067f7f845.zip
give a bit more context in the error message
-rwxr-xr-xsrc/tools/publish_toolstate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/publish_toolstate.py b/src/tools/publish_toolstate.py
index 97df3cfda00..13ab1dfeaa8 100755
--- a/src/tools/publish_toolstate.py
+++ b/src/tools/publish_toolstate.py
@@ -167,9 +167,9 @@ def update_latest(
                 except IOError as e:
                     # network errors will simply end up not creating an issue, but that's better
                     # than failing the entire build job
-                    print("I/O error: {0}".format(e))
+                    print("I/O error when creating issue for status regression: {0}".format(e))
                 except:
-                    print("Unexpected error: {0}".format(sys.exc_info()[0]))
+                    print("Unexpected error when creating issue for status regression: {0}".format(sys.exc_info()[0]))
                     raise
 
             if changed: