Documentation
¶
Overview ¶
Package flarereport wires the pro entry points (mesh-hub) to the house Flare instance. It is the ONLY package in this module allowed to import sentry-go: the AGPL open core (the mesh CLI and pkg/) must never link error reporting, so keep this import isolated here and never import flarereport from open-core packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureErr ¶
func CaptureErr(err error)
CaptureErr reports a non-panic error to Flare. No-op when reporting is disabled. Use for errors that are handled but should page someone.
func CapturePanic ¶
CapturePanic reports a recovered panic to Flare with request context. The hub has its own panic-recovery middleware that renders the 500, so this is called from inside its recover block and does not re-panic. Safe when InitFlare was a no-op: capture calls on an uninitialized hub do nothing.
Types ¶
This section is empty.