Skip to content

Commit

Permalink
follow #439 for actix-web. fix #680 (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-rosputko authored Feb 4, 2025
1 parent 19bd899 commit 1d3212a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sentry-actix/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ where
"http.server",
headers,
);
Some(hub.start_transaction(ctx))

let transaction = hub.start_transaction(ctx);
transaction.set_request(sentry_req.clone());
Some(transaction)
} else {
None
};
Expand Down

0 comments on commit 1d3212a

Please sign in to comment.