Unverified Commit 9baca0c3 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Fail ColdRunner.attach() eagerly when device connection fails (#74543)

parent e623d93d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment