We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c0b4cb commit 1982a1fCopy full SHA for 1982a1f
backend/exifoo/api.py
@@ -3,6 +3,7 @@
3
from contextlib import asynccontextmanager
4
5
import sentry_sdk
6
+import httpx
7
from fastapi import FastAPI
8
from fastapi.middleware.cors import CORSMiddleware
9
from fastapi.responses import JSONResponse
@@ -25,6 +26,7 @@
25
26
27
28
sentry_sdk.init(
29
+ ignore_errors=[httpx.ConnectError, ConnectionError],
30
dsn=os.getenv("SENTRY_DSN"),
31
# Set traces_sample_rate to 1.0 to capture 100%
32
# of transactions for tracing.
0 commit comments