Skip to content

Commit

Permalink
fix: fixed logger acorn issue
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 15, 2024
1 parent fbba370 commit c6dfb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ async function hook(err, message, meta) {
//
// we should try to create and log the error that occurred
// but we should indicate that we should ignore the next log hook
if (!err?.is_duplicate_log) console.error(err);
if (!err.is_duplicate_log) console.error(err);
// if (meta.ignore_next_hook) logger.error(err, { ignore_hook: true });
// else logger.error(err, { ignore_next_hook: true });
});
Expand Down

0 comments on commit c6dfb48

Please sign in to comment.