Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
🔊 Sentry: add in_app_include
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Feb 9, 2023
1 parent c91dd47 commit fa4acea
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/helpers/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub fn init(sentry_dsn: Option<String>, traces_sample_rate: f32) -> Result<Clien
profiles_sample_rate: traces_sample_rate,
attach_stacktrace: true,
send_default_pii: true,
in_app_include: vec!["blitz_dashboard"],
..Default::default()
},
));
Expand Down
2 changes: 1 addition & 1 deletion src/web/views/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ fn render_tank_tr(
td.has-text-left data-sort="damage-per-battle" data-value=(damage_per_battle) {
span.icon-text.is-flex-wrap-nowrap {
span.icon.has-text-grey-light { i.fa-solid.fa-house-damage {} }
(format!("{:.0}", damage_per_battle))
(format!("{damage_per_battle:.0}"))
}
}

Expand Down

0 comments on commit fa4acea

Please sign in to comment.