Use display name for release channel in panic events

This commit is contained in:
Joseph T. Lyons 2023-10-06 14:04:38 -04:00
parent 1e557dddcc
commit 81bc86be07

View file

@ -479,7 +479,7 @@ fn init_panic_hook(app: &App, installation_id: Option<String>, session_id: Strin
line: location.line(),
}),
app_version: app_version.clone(),
release_channel: RELEASE_CHANNEL.dev_name().into(),
release_channel: RELEASE_CHANNEL.display_name().into(),
os_name: platform.os_name().into(),
os_version: platform
.os_version()