🪢 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: rephrase ingestion error event (#2536)
Max Deichmann0f76b010dfe5
diff --git a/web/next.config.mjs b/web/next.config.mjsindex 63abbffd10..d720a8ee91 100644--- a/web/next.config.mjs+++ b/web/next.config.mjs@@ -80,22 +80,22 @@ const nextConfig = {// Required to check authentication status from langfuse.com...(env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined? [- {- source: "/api/auth/session",- headers: [- {- key: "Access-Control-Allow-Origin",- value: "https://langfuse.com",- },- { key: "Access-Control-Allow-Credentials", value: "true" },- { key: "Access-Control-Allow-Methods", value: "GET,POST" },- {- key: "Access-Control-Allow-Headers",- value: "Content-Type, Authorization",- },- ],- },- ]+ {+ source: "/api/auth/session",+ headers: [+ {+ key: "Access-Control-Allow-Origin",+ value: "https://langfuse.com",+ },+ { key: "Access-Control-Allow-Credentials", value: "true" },+ { key: "Access-Control-Allow-Methods", value: "GET,POST" },+ {+ key: "Access-Control-Allow-Headers",+ value: "Content-Type, Authorization",+ },+ ],+ },+ ]: []),];},diff --git a/web/src/pages/api/public/ingestion.ts b/web/src/pages/api/public/ingestion.tsindex 3d96016aac..615b08639e 100644--- a/web/src/pages/api/public/ingestion.ts+++ b/web/src/pages/api/public/ingestion.ts@@ -134,7 +134,7 @@ export default async function handler(res,);} catch (error: unknown) {- console.error("error handling ingestion event", error);+ console.error("error_handling_ingestion_event", error);if (!(error instanceof UnauthorizedError)) {Sentry.captureException(error);