Documentation ¶
Overview ¶
Package sentry implements logic for using Sentry for error reporting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureError ¶
CaptureError captures the current error and sends it to Sentry using the hub from the current context. This should only be used for actionable errors to avoid flooding Sentry with useless reports. If Sentry is not enabled or the context has no associated hub, this function will have no effect.
func Initialize ¶
Initialize initializes a Sentry connection with the given client option values.
func SetHubOnContext ¶
SetHubOnContext clones the current hub and sets it on the given context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.