You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importsentry_sdk# Replace this with your Sentry DSNSENTRY_DSN="http://sentry@127.0.0.1:8000/1"# Initialize the Sentry SDKsentry_sdk.init(
dsn=SENTRY_DSN,
traces_sample_rate=1.0# Adjust the sample rate for traces if needed
)
defmain():
try:
# Simulate a function that could cause an errorsimulate_error()
exceptExceptionase:
# Capture the exception in Sentryres=sentry_sdk.capture_exception(e)
print(res)
print(f"An error occurred: {e}")
defsimulate_error():
# Simulate a division by zero errorreturn1/0if__name__=="__main__":
main()
<dev› » python sentry.py
e8d205575efa4f8f959580f3c22499a7
An error occurred: division by zero
python sentry.py 1.90s user 0.45s system 84% cpu 2.776 total
‹dev› » python sentry.py
ce01f61babe94486a1c19cbcc520cd3e
An error occurred: division by zero
So it seems like something is happening, but I see nothing on the UI. What can I do to debug what's going on?
The text was updated successfully, but these errors were encountered:
I've tried setting up buggregator with my spiral app, but I don't see any events in the frontend.
To make sure everything is working fine I set up another
docker-compose.yml
with the following info:and then ran the following code
So it seems like something is happening, but I see nothing on the UI. What can I do to debug what's going on?
The text was updated successfully, but these errors were encountered: