Demote android emulator "errors"

Summary:
Really not errors at all. I'm getting warnings here about my Vulkan
support not working. That shouldn't be logged as a Flipper error.

Reviewed By: mweststrate

Differential Revision: D27260607

fbshipit-source-id: 6f9d2ab0da3fe37bb5c8c185ad627ef0d581e5d5
This commit is contained in:
Pascal Hartig
2021-03-23 09:50:01 -07:00
committed by Facebook GitHub Bot
parent df71f14c77
commit d19eeb2a53

View File

@@ -250,12 +250,12 @@ export async function launchEmulator(name: string, coldBoot: boolean = false) {
},
);
child.stderr.on('data', (data) => {
console.error(`Android emulator error: ${data}`);
console.warn(`Android emulator stderr: ${data}`);
});
child.on('error', (e) => console.error(e));
child.on('error', (e) => console.warn('Android emulator error:', e));
} else {
throw new Error('Could not get emulator path');
}
})
.catch((e) => console.error(e));
.catch((e) => console.error('Android emulator startup failed:', e));
}