From 1c80941c697c3c869d601c106ff132f917d94a71 Mon Sep 17 00:00:00 2001 From: -LAN- Date: Mon, 23 Dec 2024 22:36:44 +0800 Subject: [PATCH] fix: add FileNotFoundError to ignored errors in Sentry integration (#12023) Signed-off-by: -LAN- --- api/extensions/ext_sentry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/extensions/ext_sentry.py b/api/extensions/ext_sentry.py index 8016356a3e..3ec8ae6e1d 100644 --- a/api/extensions/ext_sentry.py +++ b/api/extensions/ext_sentry.py @@ -27,6 +27,7 @@ def init_app(app: DifyApp): ignore_errors=[ HTTPException, ValueError, + FileNotFoundError, openai.APIStatusError, InvokeRateLimitError, parse_error.defaultErrorResponse,