using-goroutines

command
v2.5.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 4 Imported by: 0

README

Managing panics from goroutines

This package contains an example for how to manage panics in a separate goroutine with Bugsnag.

Run the example

  1. Change the API key in main.go to a project you've created in Bugsnag.
  2. Inside bugsnag-go/examples/using-goroutines do:
    go get
    go run main.go
    
  3. The application will run for a split second, starting a new goroutine, which panics.
  4. You should now see events this panic in your Bugsnag dashboard.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL