Print error to stderr
This commit is contained in:
parent
15ef2cb8bb
commit
7a0706a30d
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ def healthcheck():
|
|||
if r.ok:
|
||||
sys.exit(0)
|
||||
except requests.exceptions.RequestException as e:
|
||||
print(f"ERROR: {e}")
|
||||
print(f"ERROR: {e}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue