Senbax Utils

© 2024 SENBAX GmbH

Sentry Backend

Reflex Environment: Env.PROD

SENTRY_BACKEND_CONFIG.enabled: True

SENTRY_BACKEND_CONFIG.force_enable: False

Sentry is enabled

Backend errors

Exceptions in event handlers are caught by backend_exception_handler that is passed to rx.App

Division by zero in event handler works fine

log.info(1 / 0)

The logging module works fine too

log.error('This is an error emitted by the logging module')

Errors raised during calculation of computed vars are also caught by backend_exception_handler that is passed to rx.App

1 / self.user_input

1 / 2 = 0.5

from sentry_sdk import capture_message capture_message(self.custom_error)

Background handler errors

Errors raised in background handlers are also caught by backend_exception_handler that is passed to rx.App

Dark mode: