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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
We've cleaned up the interface and so there are some client changes that need to be made. The error you are seeing looks like you are passing bugsnag.register into app.use. We had to change this interface as we now have two middlewares (one for getting information about a request, and the other to report errors).
To ensure that asynchronous errors are routed to the error handler, add the requestHandler middleware to your app as the first middleware:
app.use(bugsnag.requestHandler);
You'll also need to add Bugsnag's error handling middleware, make sure to add this after all other middleware, but before any "error" middleware:
I can start my app fine without bugsnag, but as soon as I try bugsnag.register I get the following error.
The text was updated successfully, but these errors were encountered: