We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1340bf1 + cfdb6d5 commit 5424b88Copy full SHA for 5424b88
src/handlers.rs
@@ -422,6 +422,11 @@ macro_rules! command_handlers {
422
if let Some(err) = err.downcast_mut::<UserError>() {
423
errors.push(HandlerError::Message(std::mem::take(&mut err.0)));
424
} else {
425
+ errors.push(HandlerError::Message(format!(
426
+ "`{}` handler unexpectedly failed in [this comment]({}): {err}",
427
+ stringify!($name),
428
+ event.html_url().expect("has html url"),
429
+ )));
430
errors.push(HandlerError::Other(err.context(format!(
431
"error when processing {} command handler",
432
stringify!($name)
0 commit comments