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
I am using the bugsnag error middleware to report errors with Express.
The middleware makes serverless-http crash, as req.connection.address() is not defined.
Maybe serverless-http could implement this method, as other Express/Connect middlewares probably use it?
Looks like you already added defensive code for this but I stubbed address() as of 1.5.4 -- not sure if it's properly stubbed, but the port is there (hardcoded to 443).
I am using the
bugsnag
error middleware to report errors with Express.The middleware makes
serverless-http
crash, asreq.connection.address()
is not defined.Maybe
serverless-http
could implement this method, as other Express/Connect middlewares probably use it?See bugsnag/bugsnag-node#129 for details about the error.
The text was updated successfully, but these errors were encountered: