Skip to content

Commit

Permalink
Don't upload email to Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesxu123 committed Mar 6, 2024
1 parent 00d3f7d commit b8db6cd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tasks/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ pub async fn handle_queue_request(
if let Ok(p) = serde_json::from_slice::<BlueRideNotification>(&delivery.data) {
sentry::configure_scope(|scope| {
scope.set_transaction(p.trace_id.as_deref());
scope.set_user(Some(sentry::User {
email: Some(p.target_user.email.clone()),
..Default::default()
}));
});

let e = match p.payload {
Expand Down

0 comments on commit b8db6cd

Please sign in to comment.