Repository navigation
fix(api): log notification task errors via log_exception instead of print - #10185
sriramveeraghanta merged 1 commit into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Hi @pablohashescobar, whenever you have some free time, could you please review this PR? It's a small change. Happy to make any adjustments needed. Thanks! |
|
Hi @sriramveeraghanta, thanks for merging my earlier PRs. Whenever you get a chance, could you take a look at this one too? Happy to make any changes needed. |
Description
notification_taskswallowed errors withprint(e), which bypasses the worker's logging configuration and drops the traceback. Uses the existinglog_exceptionhelper (aswebhook_taskand the other bgtasks do) so failures reach theplane.exceptionlogger.Type of Change
Test Scenarios
Syntax-checked the module. The task still returns on error as before.
Summary by CodeRabbit