Skip to content

Commit 1d3212a

Browse files
follow #439 for actix-web. fix #680 (#737)
1 parent 19bd899 commit 1d3212a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sentry-actix/src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,10 @@ where
250250
"http.server",
251251
headers,
252252
);
253-
Some(hub.start_transaction(ctx))
253+
254+
let transaction = hub.start_transaction(ctx);
255+
transaction.set_request(sentry_req.clone());
256+
Some(transaction)
254257
} else {
255258
None
256259
};

0 commit comments

Comments
 (0)