fix(logging): use logger.exception in exception handling logs#540
Merged
Codecov / codecov/project
succeeded
Jun 3, 2026 in 1s
61.63% (+0.00%) compared to 5d45c87
View this Pull Request on Codecov
61.63% (+0.00%) compared to 5d45c87
Details
Codecov Report
❌ Patch coverage is 26.31579% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.63%. Comparing base (5d45c87) to head (c9a6a3e).
✅ All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/common/rank.py | 0.00% | 10 Missing |
| src/reddit_bot/bot.py | 40.00% | 6 Missing |
| src/common/database.py | 60.00% | 4 Missing |
| src/discord_bot/cogs/rank.py | 0.00% | 4 Missing |
| src/discord_bot/bot.py | 0.00% | 2 Missing |
| src/discord_bot/cogs/autoban.py | 0.00% | 2 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #540 +/- ##
=======================================
Coverage 61.63% 61.63%
=======================================
Files 27 27
Lines 1989 1989
=======================================
Hits 1226 1226
Misses 763 763 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/discord_bot/bot.py | 89.21% <0.00%> (ø) |
|
| src/discord_bot/cogs/autoban.py | 45.16% <0.00%> (ø) |
|
| src/common/database.py | 58.88% <60.00%> (ø) |
|
| src/discord_bot/cogs/rank.py | 28.03% <0.00%> (ø) |
|
| src/reddit_bot/bot.py | 69.46% <40.00%> (ø) |
|
| src/common/rank.py | 58.57% <0.00%> (ø) |
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 5d45c87...c9a6a3e. Read the comment docs.
Loading