Skip to content

Commit e98fd69

Browse files
committed
adding error log
1 parent 108cdab commit e98fd69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/oauth.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export class OauthService extends PassportStrategy(Strategy, 'discord') implemen
6666
this.cache.set(user.id, profile);
6767
return profile;
6868
} catch (e) {
69+
console.error(e);
6970
if (e instanceof InternalOAuthError) {
7071
if (e?.oauthError?.statusCode == 429) {
7172
this.logger.error("Discord rate limiting, retry after: " + e?.oauthError.data.retry_after);

0 commit comments

Comments
 (0)