Skip to content

Commit f954ea3

Browse files
committed
ignore the .exe
1 parent f263861 commit f954ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub fn sentry_panic_reporter(_: &mut App, subscriber: BoxedSubscriber) -> BoxedS
105105

106106
env::args().next().and_then(|file| {
107107
PathBuf::from(file)
108-
.file_name()
108+
.file_stem()
109109
.and_then(|file| file.to_str())
110110
.map(|exe| {
111111
configure_scope(|scope| {

0 commit comments

Comments
 (0)