Skip to content

Commit

Permalink
LF-3914 Fix incorrect level restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
kathyavini committed Dec 5, 2023
2 parents cdca41e + 7c6c047 commit 0bef013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/common/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class SentryTransport extends Transport {
// Report Errors to Sentry
// TODO LF-3914: once the config has been finalized it should be applied to production as well
if (process.env.NODE_ENV === 'integration') {
logger.add(new SentryTransport({ level: 'error' }));
logger.add(new SentryTransport());
}

console.log = (...args) => logger.info.call(logger, ...args);
Expand Down

0 comments on commit 0bef013

Please sign in to comment.