diff --git a/features/status-dashboard/server/src/auth/flexible-auth.guard.ts b/features/status-dashboard/server/src/auth/flexible-auth.guard.ts index f95cc1b2b..0a7a9fd8b 100644 --- a/features/status-dashboard/server/src/auth/flexible-auth.guard.ts +++ b/features/status-dashboard/server/src/auth/flexible-auth.guard.ts @@ -248,7 +248,7 @@ export class FlexibleAuthGuard implements CanActivate { // Check if the certificate is authorized (signed by trusted CA) if (!socket.authorized) { const authError = socket.authorizationError; - this.logger.warn(`Client certificate not authorized: ${authError}`); + this.logger.warn(`Client certificate not authorized: ${String(authError)}`); return null; } diff --git a/features/status-dashboard/server/src/auth/mtls.guard.ts b/features/status-dashboard/server/src/auth/mtls.guard.ts index d373b3dc4..2ce464e10 100644 --- a/features/status-dashboard/server/src/auth/mtls.guard.ts +++ b/features/status-dashboard/server/src/auth/mtls.guard.ts @@ -106,7 +106,7 @@ export class MtlsGuard implements CanActivate { // Check if the certificate is authorized (signed by trusted CA) if (!socket.authorized) { const authError = socket.authorizationError; - this.logger.warn(`Client certificate not authorized: ${authError}`); + this.logger.warn(`Client certificate not authorized: ${String(authError)}`); // Allow fall-through to API key auth return true; }