Skip to content

Commit fb2f841

Browse files
committed
give a bit more context in the error message
1 parent a8b2b1c commit fb2f841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/publish_toolstate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ def update_latest(
167167
except IOError as e:
168168
# network errors will simply end up not creating an issue, but that's better
169169
# than failing the entire build job
170-
print("I/O error: {0}".format(e))
170+
print("I/O error when creating issue for status regression: {0}".format(e))
171171
except:
172-
print("Unexpected error: {0}".format(sys.exc_info()[0]))
172+
print("Unexpected error when creating issue for status regression: {0}".format(sys.exc_info()[0]))
173173
raise
174174

175175
if changed:

0 commit comments

Comments
 (0)