Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureException ¶
CaptureException reports a handled error to Sentry.
func New ¶
New sets up Sentry using the provided options. If the DSN is empty, initialization is skipped.
func RecoverAndFlush ¶
func RecoverAndFlush(repanic bool)
RecoverAndFlush captures a panic (if any) and flushes buffered events. If repanic is true, the panic is rethrown after flush to preserve crash semantics.
Types ¶
Click to show internal directories.
Click to hide internal directories.