From 5e100b691a915fab1f152b2c9ab4c323503bf1e0 Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Wed, 16 Jul 2025 14:33:21 +0200 Subject: [PATCH] fix: Correct the Electron warning log message --- CHANGELOG.md | 4 ++++ src/index.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c01bfc3..7426fe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.2.1 + +- fix: Correct the Electron warning log message + ## 0.2.0 - feat: Allow disabling of watchdog tracking per thread (#11) diff --git a/src/index.ts b/src/index.ts index a73a1df..eb31797 100644 --- a/src/index.ts +++ b/src/index.ts @@ -49,7 +49,7 @@ function getNativeModule(): Native { return require('../build/Release/stack-trace.node'); } catch (e) { // eslint-disable-next-line no-console - console.warn('The \'@sentry/profiling-node\' binary could not be found. Use \'@electron/rebuild\' to ensure the native module is built for Electron.'); + 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.'); throw e; } }