give a bit more context in the error message

This commit is contained in:
Ralf Jung 2019-06-21 13:40:57 +02:00
parent a8b2b1c7b3
commit fb2f841867

View File

@ -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: