Tweak failed init text (#15)

This commit is contained in:
Paulus Schoutsen 2021-06-15 01:14:49 -07:00 committed by GitHub
parent f1718188b7
commit 56a0352039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ export const flash = async (
fireStateEvent({ fireStateEvent({
state: State.ERROR, state: State.ERROR,
message: message:
"Failed to initialize. Try resetting your device or holding the BOOT button before clicking connect.", "Failed to initialize. Try resetting your device or holding the BOOT button while selecting your serial port.",
details: { error: FlashError.FAILED_INITIALIZING, details: err }, details: { error: FlashError.FAILED_INITIALIZING, details: err },
}); });
await esploader.disconnect(); await esploader.disconnect();