Skip to content

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
phacops committed Oct 7, 2024
1 parent 22dceeb commit 79eefba
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions relay-profiling/src/android/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,8 @@ impl Chunk {

fn parse_chunk(payload: &[u8]) -> Result<Chunk, ProfileError> {
let d = &mut serde_json::Deserializer::from_slice(payload);
let mut profile: Chunk = match serde_path_to_error::deserialize(d) {
Ok(p) => p,
Err(e) => {
println!("{:#?}", e);
return Err(ProfileError::InvalidJson(e));
}
};
// .map_err(ProfileError::InvalidJson)?;
let mut profile: Chunk =
serde_path_to_error::deserialize(d).map_err(ProfileError::InvalidJson)?;

if let Some(ref mut js_profile) = profile.js_profile {
js_profile.normalize(profile.metadata.platform.as_str())?;
Expand Down

0 comments on commit 79eefba

Please sign in to comment.