File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -170,13 +170,15 @@ base mixin FlutterLauncherSupport
170
170
LoggingLevel .info,
171
171
'Flutter application ${process !.pid } exited with code $exitCode .' ,
172
172
);
173
- _runningApps.remove (process.pid);
174
173
if (! completer.isCompleted) {
174
+ final logOutput = _runningApps[process.pid]? .logs.join ('\n ' );
175
175
completer.completeError (
176
176
'Flutter application exited with code $exitCode before the DTD '
177
- 'URI was found. ' ,
177
+ 'URI was found, with log output: \n $ logOutput ' ,
178
178
);
179
179
}
180
+ _runningApps.remove (process.pid);
181
+
180
182
// Cancel subscriptions after all processing is done.
181
183
await stdoutSubscription.cancel ();
182
184
await stderrSubscription.cancel ();
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ dependencies:
40
40
yaml : ^3.1.3
41
41
42
42
dev_dependencies :
43
- analyzer : ^7.5.2
43
+ analyzer : ^8.2.0
44
44
dart_flutter_team_lints : ^3.2.1
45
45
pub_semver : ^2.2.0
46
46
test : ^1.25.15
You can’t perform that action at this time.
0 commit comments