Top 4.2% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
proxy.golang.org : github.com/kinbiko/bugsnag
Package bugsnag exposes an alternative implementation of the Bugsnag Go notifier. Create a new *bugsnag.Notifier: Note: There are other configuration options you may set, which enable some advanced and very powerful features of the Notifier. See bugsnag.Configuration for more information. After creating the notifier, you can then report any errors that appear in your application: You can attach a lot of useful data to context.Context instances that get reflected in your dashboard. See the various With*(ctx, ...) funcs for more details. You can also attach a stacktrace to your errors by calling to wrap another error. Another benefit of using Wrap is that the diagnostic data attached to the ctx given in the call to Wrap is preserved in the returned err. Meaning that you can call n.Notify in a single location without worrying about losing the location of the original error or the diagnostic data that was available at that point in time. If you are reporting a panic or errors you were unable to handle, then you may set the Panic and Unhandled fields of the *bugsnag.Error returned from Wrap. To start using session tracking to enable your stability score calculation you should call n.StartSession on a per-request basis.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/kinbiko/bugsnag
Keywords:
bugsnag
, error-handling
, error-monitoring
, error-reporting
, go
, golang
, notifier
, panic
License: MIT
Latest release: over 2 years ago
First release: over 5 years ago
Namespace: github.com/kinbiko
Dependent packages: 2
Dependent repositories: 2
Stars: 4 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 19 days ago