Downgrade adb-logcat unexpected shutdown event from error to warning

Reviewed By: mweststrate

Differential Revision: D44089920

fbshipit-source-id: 6d258e507e80b2c9f2ac08f743cdb9fe49b702f2
This commit is contained in:
Andrey Goncharov
2023-03-15 06:33:11 -07:00
committed by Facebook GitHub Bot
parent fa2ea39405
commit a4fcd68c19

View File

@@ -63,7 +63,7 @@ export class AndroidLogListener extends DeviceListener {
.on('end', () => {
if (!gracefulShutdown) {
// logs didn't stop gracefully
console.error('Unexpected shutdown of adb logcat');
console.warn('Unexpected shutdown of adb logcat');
this._state.set(
'fatal',
lastKnownError ?? new Error('Unexpected shutdown of adb logcat'),