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 Jan 21, 2022. It is now read-only.
In abacus-express we override the listen function of express. However, when we perform an server.listen operation, we never check for an error, hence we always emit a successful start, which may not be the case if, for example, the port is in use.
As you can see below, we ignore any errors in the callback.
Hi,
In
abacus-express
we override thelisten
function of express. However, when we perform anserver.listen
operation, we never check for an error, hence we always emit a successful start, which may not be the case if, for example, the port is in use.As you can see below, we ignore any errors in the callback.
https://github.com/cloudfoundry-incubator/cf-abacus/blob/0597f7fbe5de1387389c2c5de8ac4ca27237736b/lib/utils/express/src/index.js#L598-L607
The text was updated successfully, but these errors were encountered: