Skip to content

Commit

Permalink
Format exception
Browse files Browse the repository at this point in the history
  • Loading branch information
psvenk committed Dec 2, 2024
1 parent 1c64d0f commit 05aff74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/web_scripts/notify_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Accept a web-hook from GitHub telling us about
# a new built version of Hydrant.

import json, requests
import json, requests, traceback

from sys import stdin, stdout
from os import environ, path
Expand Down Expand Up @@ -89,5 +89,5 @@ def main():
try:
print(main())
except Exception as e:
print(e, file=stdout)
print(e, file=open(ERROR_LOG, "w"))
print(traceback.format_exc(), file=stdout)
print(traceback.format_exc(), file=open(ERROR_LOG, "w"))

0 comments on commit 05aff74

Please sign in to comment.