Skip to content

Commit

Permalink
🐛 Bugfix for the oauth_request
Browse files Browse the repository at this point in the history
  • Loading branch information
abdheshnayak committed Dec 19, 2023
1 parent 1ea3021 commit e4777e4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions lib/client/helpers/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,20 @@ const logger = {
console.log('');
}

if (err && isDev) {
if (err) {
console.trace(err);
PostToHook(`\`\`\`${err}\`\`\``);
if (!isDev) {
PostToHook(`\`\`\`${err}\`\`\``);
}
} else {
console.trace(args);
}

if (isDev && typeof window === 'undefined') {
serverError(args);
}
// if (isDev && typeof window === 'undefined') {
// serverError(args);
// }

serverError(args);
},
};

Expand Down

0 comments on commit e4777e4

Please sign in to comment.