-
-
Notifications
You must be signed in to change notification settings - Fork 751
Verify command shouldn't log tracebacks for DM failure. #763
Copy link
Copy link
Closed
Labels
a: moderationRelated to community moderation functionality: (moderation, defcon, verification)Related to community moderation functionality: (moderation, defcon, verification)good first issueGood for newcomersGood for newcomersp: 3 - lowLow PriorityLow Priorityt: bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
a: moderationRelated to community moderation functionality: (moderation, defcon, verification)Related to community moderation functionality: (moderation, defcon, verification)good first issueGood for newcomersGood for newcomersp: 3 - lowLow PriorityLow Priorityt: bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Sentry Issue: BOT-11
It currently uses
log.exception()for all exceptions.Forbiddenshould be a special case and use a lower log level. A better approach may be to only handleForbiddenand re-raise all other exceptions (to defer it to the default command error handler). Afinallyblock can be used to still delete the message afterwards.