Skip to content

Split log.exception calls into an error and a debug#693

Merged
mosquito merged 1 commit intomosquito:masterfrom
zware:quieter_errors
Feb 7, 2026
Merged

Split log.exception calls into an error and a debug#693
mosquito merged 1 commit intomosquito:masterfrom
zware:quieter_errors

Conversation

@zware
Copy link
Contributor

@zware zware commented Feb 6, 2026

The error log now contains the exception name and str explicitly, and the traceback is moved to the added debug.

In my experience, the traceback in these cases is usually long not particularly helpful, but I do think it's worth keeping in a debug message for those who need it.

The error log now contains the exception name and str explicitly,
and the traceback is moved to the added debug.
@coveralls
Copy link

Coverage Status

coverage: 91.735% (-0.07%) from 91.808%
when pulling 3a775fb on zware:quieter_errors
into 4888cb3 on mosquito:master.

@mosquito mosquito merged commit 6f2cadb into mosquito:master Feb 7, 2026
5 of 8 checks passed
@zware zware deleted the quieter_errors branch February 9, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants