diff --git a/packages/flutter_tools/lib/src/run_cold.dart b/packages/flutter_tools/lib/src/run_cold.dart index 05ea69ad3eb..7b825e1849e 100644 --- a/packages/flutter_tools/lib/src/run_cold.dart +++ b/packages/flutter_tools/lib/src/run_cold.dart @@ -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;