Skip to content

Event captured in before send but not sent to sentry dashboard #399

@sreedharbukya

Description

@sreedharbukya

I am using the latest version sentry-SDK with python3.

I have configured my sentry as follows in settings.py

def before_send(event, hint):
	log.info("Before Sending the Event, {} and Hint : {}".format(repr(event), repr(hint)))
	return event

def init_sentry():
	sentry_sdk.init(dsn=SENTRY_DSN, environment=ENVIRONMENT,
					attach_stacktrace=True, before_send=before_send)
	log.info("Sentry Initialized")

When some event got captured. I am able to check in log file for event in before_send.
But not received in actual sentry dashboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions