Added additional logging to _listCoreDevices
(#159275)
Attempting to collect additional context into the failure outlined in https://github.com/flutter/flutter/issues/141892
This commit is contained in:
parent
399403ae6a
commit
93d772c5cd
@ -94,6 +94,10 @@ class IOSCoreDeviceControl {
|
||||
_logger.printError('The process exited with code ${result.exitCode} and');
|
||||
_logger.printError('Stdout:\n\n${result.stdout.trim()}\n');
|
||||
_logger.printError('Stderr:\n\n${result.stderr.trim()}');
|
||||
_logger.printError('Using file system type: ${_fileSystem.runtimeType}');
|
||||
if (_fileSystem is LocalFileSystem) {
|
||||
_logger.printError('LocalFileSystem disposed: ${_fileSystem.disposed}');
|
||||
}
|
||||
throw StateError('Expected the file ${output.path} to exist but it did not');
|
||||
} else if (isToolPossiblyShutdown) {
|
||||
return <Object?>[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user