fix: add FileNotFoundError to ignored errors in Sentry integration (#12023)

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN- 2024-12-23 22:36:44 +08:00 committed by GitHub
parent e88ea71aef
commit 1c80941c69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,7 @@ def init_app(app: DifyApp):
ignore_errors=[ ignore_errors=[
HTTPException, HTTPException,
ValueError, ValueError,
FileNotFoundError,
openai.APIStatusError, openai.APIStatusError,
InvokeRateLimitError, InvokeRateLimitError,
parse_error.defaultErrorResponse, parse_error.defaultErrorResponse,