Skip to content

Commit bdfad45

Browse files
authored
fix: Correct the Electron warning log message (#12)
1 parent c56a7e7 commit bdfad45

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.2.1
4+
5+
- fix: Correct the Electron warning log message
6+
37
## 0.2.0
48

59
- feat: Allow disabling of watchdog tracking per thread (#11)

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function getNativeModule(): Native {
4949
return require('../build/Release/stack-trace.node');
5050
} catch (e) {
5151
// eslint-disable-next-line no-console
52-
console.warn('The \'@sentry/profiling-node\' binary could not be found. Use \'@electron/rebuild\' to ensure the native module is built for Electron.');
52+
console.warn('The \'@sentry-internal/node-native-stacktrace\' binary could not be found. Use \'@electron/rebuild\' to ensure the native module is built for Electron.');
5353
throw e;
5454
}
5555
}

0 commit comments

Comments
 (0)