Skip to content

Latest commit

 

History

History

using-goroutines

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.