Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: bring log line back (#3702)

Max Deichmann4ed1ad7bc295
diff --git a/web/src/features/public-api/server/apiAuth.ts b/web/src/features/public-api/server/apiAuth.ts
index aa793c2040..00d6f3064b 100644
--- a/web/src/features/public-api/server/apiAuth.ts
+++ b/web/src/features/public-api/server/apiAuth.ts
@@ -217,17 +217,10 @@ export class ApiAuthService {
};
}
} catch (error: unknown) {
- if (
- !(
- error instanceof Error &&
- error.message.includes("Invalid credentials")
- )
- ) {
- logger.error(
- `Error verifying auth header: ${error instanceof Error ? error.message : null}`,
- error,
- );
- }
+ logger.error(
+ `Error verifying auth header: ${error instanceof Error ? error.message : null}`,
+ error,
+ );
if (isPrismaException(error)) {
throw error;