From 198c4f190a5e3a4ff3720130087eda610b53a424 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Tue, 20 Aug 2019 10:29:49 -0700 Subject: [PATCH] Show process error when iOS install fails (#38712) --- packages/flutter_tools/lib/src/ios/devices.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index 51d8f85cbc..b173fd315c 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart @@ -230,7 +230,8 @@ class IOSDevice extends Device { ), ); return true; - } on ProcessException { + } on ProcessException catch (error) { + printError(error.message); return false; } } @@ -245,7 +246,8 @@ class IOSDevice extends Device { ), ); return true; - } on ProcessException { + } on ProcessException catch (error) { + printError(error.message); return false; } }