Skip to content

Commit

Permalink
fix: Sentry.configureScope → Sentry.withScope
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 committed Sep 18, 2024
1 parent 3105371 commit 1dfd541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class LogHelper {

// sentry
if (s.report && !ConfigHelper.isDev() && ConfigHelper.getSentryDSN()) {
Sentry.configureScope(scope => {
Sentry.withScope(scope => {
scope.setExtra('machine', os.hostname() + ':' + ConfigHelper.getPort());
scope.setTag('module', s.module);
scope.setTag('id', s.id);
Expand Down

0 comments on commit 1dfd541

Please sign in to comment.