From 7a0706a30daa1802a7bbb7b75efce71becc40953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Mon, 19 Dec 2022 18:41:55 +0100 Subject: [PATCH] Print error to stderr --- discord_rss_bot/healthcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord_rss_bot/healthcheck.py b/discord_rss_bot/healthcheck.py index 71b3e31..620ba35 100644 --- a/discord_rss_bot/healthcheck.py +++ b/discord_rss_bot/healthcheck.py @@ -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)