Hi, I am facing an issue with the Python sentry sdk:
If I am behind a corporate proxy, and if the sentry client is not configured to use this proxy, no error is sent to the sentry platform when an (Handled or Not Handled) error is raised. The problem is that it fails silently, there is no error message, no error/warn log, even in debug mode.
Is it expected behavior, or can I do something to detect this configuration issue?
Thx!
Python sentry-sdk 0.19.5
A sample code:
sentry_sdk.init(
"https://************************.ingest.sentry.io/********",
traces_sample_rate=1.0,
# https_proxy='http://myproxy:port' # error is sent to sentry if the proxy is configured
)
try:
raise Exception("sample error 20")
except Exception as e:
sentry_sdk.capture_exception(e)