Skip to content

Commit

Permalink
fix: add FileNotFoundError to ignored errors in Sentry integration
Browse files Browse the repository at this point in the history
Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Dec 23, 2024
1 parent e88ea71 commit 82ee06e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/extensions/ext_sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def before_send(event, hint):
ignore_errors=[
HTTPException,
ValueError,
FileNotFoundError,
openai.APIStatusError,
InvokeRateLimitError,
parse_error.defaultErrorResponse,
Expand Down

0 comments on commit 82ee06e

Please sign in to comment.