Skip to content

Commit

Permalink
Ignore the msg parameter when creating a tracing span (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Jan 17, 2021
1 parent 835e826 commit cb6b528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/standard/mod.rs
Expand Up @@ -602,7 +602,7 @@ impl StandardFramework {

#[async_trait]
impl Framework for StandardFramework {
#[instrument(skip(self, ctx))]
#[instrument(skip(self, ctx, msg))]
async fn dispatch(&self, mut ctx: Context, msg: Message) {
if self.should_ignore(&msg) {
return;
Expand Down

0 comments on commit cb6b528

Please sign in to comment.