initialize_sentry#
- safir.sentry.initialize_sentry(**additional_kwargs)#
Initialize Sentry with env var values and the safir before_send handler.
Most Safir apps should provide certain Sentry parameters. This method will validate and pass those parameters, as well as any additional parameters, to the Sentry SDK init function. It also adds
before_send_handler
so thatSlackException
values can be used.