Skip to content
Branch: master
Find file History
Pull request Compare This branch is even with next.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
main.go

README.md

Example net/http application

This package contains an example net/http application, with Bugsnag configured.

Run the example

  1. Change the API key in main.go to a project you've created in Bugsnag.
  2. Inside bugsnag-go/examples/http do:
    go get
    go run main.go
  3. The application is now running. You can now visit
    http://localhost:9001/unhandled - to trigger an unhandled panic
    http://localhost:9001/handled   - to trigger a handled error
    
  4. You should now see events for these exceptions in your Bugsnag dashboard.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.