Documentation
¶
Overview ¶
Package sentry wraps the Sentry Go SDK. All functions are no-ops when DSN is empty so the package is safe to call unconditionally regardless of whether Sentry is configured.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureException ¶
func CaptureException(err error)
CaptureException sends err to Sentry. No-op if err is nil or Sentry is not configured.
func Flush ¶
Flush waits up to timeout for buffered events to be sent. No-op if Sentry is not configured.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.