🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix: fail open on redis errors in ratelimitservice (#5001)
Steffen Schmitz8b686e9b3174
diff --git a/web/src/features/public-api/server/RateLimitService.ts b/web/src/features/public-api/server/RateLimitService.tsindex fe02507470..edec9d8021 100644--- a/web/src/features/public-api/server/RateLimitService.ts+++ b/web/src/features/public-api/server/RateLimitService.ts@@ -100,9 +100,9 @@ export class RateLimitService {isFirstInDuration: err.isFirstInDuration,};} else {- // Some other error occurred, rethrow it+ // Some other error occurred, return undefined to fail openlogger.error("Internal Rate limit error", err);- throw err;+ return undefined;}}