Skip to content

Commit

Permalink
Do not log HTTP traceback when we fail to check release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Aug 27, 2024
1 parent dfe811b commit 4871ddf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scc/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4871ddf

Please sign in to comment.