Track unable to listen cases
Summary: Track whenever the server is unable to bind to the specified port. Reviewed By: antonk52 Differential Revision: D49951304 fbshipit-source-id: 971d7c324f27c287036707d21bb51d26acbd6615
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9fa5671ab0
commit
c05fe8cb53
@@ -174,6 +174,7 @@ async function startHTTPServer(
|
||||
console.warn(
|
||||
`[flipper-server] Unable to listen at port: ${config.port}, is already in use`,
|
||||
);
|
||||
tracker.track('server-socket-already-in-use', {});
|
||||
process.exit(1);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user