We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a73216f commit 73eb34cCopy full SHA for 73eb34c
api/src/auth/auth.controller.ts
@@ -119,20 +119,9 @@ export class AuthController {
119
return res.redirect(redirectUrl);
120
} catch (e) {
121
if (e instanceof BadRequestException) {
122
- this.logger.error(
123
- `Error in FortyTwo callback: ${e.message}`,
124
- e.stack || String(e),
125
- );
126
throw e;
127
}
128
129
- const errorMessage = e instanceof Error ? e.message : String(e);
130
- const errorStack = e instanceof Error ? e.stack || String(e) : String(e);
131
132
- `Error in FortyTwo callback: ${errorMessage}`,
133
- errorStack,
134
135
-
136
throw new BadRequestException(
137
e instanceof Error
138
? `Invalid state parameter: ${e.message}`
0 commit comments