mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fail ColdRunner.attach() eagerly when device connection fails (#74543)
This commit is contained in:
parent
e623d93d2b
commit
9baca0c3d7
@ -153,7 +153,7 @@ class ColdRunner extends ResidentRunner {
|
||||
serveDevToolsGracefully(
|
||||
devToolsServerAddress: debuggingOptions.devToolsServerAddress,
|
||||
),
|
||||
]);
|
||||
], eagerError: true);
|
||||
} on Exception catch (error) {
|
||||
globals.printError('Error connecting to the service protocol: $error');
|
||||
return 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user