Downgrade metro connection error

Reviewed By: passy

Differential Revision: D47515502

fbshipit-source-id: aa05e9f62b661989187f0340cf06eaa7dbaac379
This commit is contained in:
Andrey Goncharov
2023-07-17 08:38:50 -07:00
committed by Facebook GitHub Bot
parent 07292f837d
commit 9ef69bdbad

View File

@@ -38,7 +38,7 @@ async function isMetroRunning(): Promise<boolean> {
})
.on('error', (err: any) => {
if (err.code !== 'ECONNREFUSED' && err.code !== 'ECONNRESET') {
console.error('Could not connect to METRO ' + err);
console.warn('Could not connect to METRO ' + err);
}
resolve(false);
});