Skip to content

Commit

Permalink
ref(profiling): Use debug sigil for logging fields (#2690)
Browse files Browse the repository at this point in the history
#skip-changelog
  • Loading branch information
Dav1dde authored Nov 6, 2023
1 parent a69c6d4 commit 71e819c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions relay-profiling/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub fn expand_profile(payload: &[u8], event: &Event) -> Result<(EventId, Vec<u8>
project_id = event.project.value().unwrap_or(&0),
sdk_name = event.sdk_name(),
sdk_version = event.sdk_version(),
transaction_id = format!("{:?}", event.id.value()),
transaction_id = ?event.id.value(),
"invalid profile",
);
return Err(ProfileError::InvalidJson(err));
Expand Down Expand Up @@ -227,7 +227,7 @@ pub fn expand_profile(payload: &[u8], event: &Event) -> Result<(EventId, Vec<u8>
project_id = event.project.value().unwrap_or(&0),
sdk_name = event.sdk_name(),
sdk_version = event.sdk_version(),
transaction_id = format!("{:?}", event.id.value()),
transaction_id = ?event.id.value(),
"invalid profile",
);
Err(ProfileError::InvalidJson(err))
Expand All @@ -240,7 +240,7 @@ pub fn expand_profile(payload: &[u8], event: &Event) -> Result<(EventId, Vec<u8>
project_id = event.project.value().unwrap_or(&0),
sdk_name = event.sdk_name(),
sdk_version = event.sdk_version(),
transaction_id = format!("{:?}", event.id.value()),
transaction_id = ?event.id.value(),
"invalid profile",
);
Err(err)
Expand Down

0 comments on commit 71e819c

Please sign in to comment.