From e86d8ba21255133f399bcb9201c35d2a001f1619 Mon Sep 17 00:00:00 2001 From: Jared Snider Date: Thu, 20 Mar 2025 15:26:52 -0400 Subject: [PATCH] PasswordLoginStrategy - update error handling --- .../src/common/login-strategies/password-login.strategy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/auth/src/common/login-strategies/password-login.strategy.ts b/libs/auth/src/common/login-strategies/password-login.strategy.ts index 01c94f71b0d..85ac7685219 100644 --- a/libs/auth/src/common/login-strategies/password-login.strategy.ts +++ b/libs/auth/src/common/login-strategies/password-login.strategy.ts @@ -312,7 +312,9 @@ export class PasswordLoginStrategy extends BaseLoginStrategy { } catch (error) { // If this process fails for any reason, we don't want to stop the login process // so just log the error and continue. - this.logService.error(`Failed to register user for OPAQUE key exchange: ${error}`); + this.logService.error( + `Failed to register user for OPAQUE key exchange: ${JSON.stringify(error)}`, + ); } } }