From 4871ddfa539c83f8b482578c22ca7f6938b84c71 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Tue, 27 Aug 2024 19:06:57 +0200 Subject: [PATCH] Do not log HTTP traceback when we fail to check release notes --- scc/gui/app.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scc/gui/app.py b/scc/gui/app.py index 36a6f29f..2c5f8c9f 100644 --- a/scc/gui/app.py +++ b/scc/gui/app.py @@ -1560,9 +1560,8 @@ def http_ready(f, task, buffer): assert stream stream.read_bytes_async(102400, 0, None, stream_ready, buffer) except Exception as e: - log.warning("Failed to read release notes") - log.exception(e) - log.warning("(above error is not fatal and can be ignored)") + log.warning("Failed to read release notes, maybe your internet connection is down?") +# log.exception(f"Following Traceback error is not fatal and can be ignored: {e}") return f.read_async(0, None, http_ready, buffer)