fix an exception from flutter doctor

This commit is contained in:
Devon Carew
2016-03-28 16:20:43 -07:00
parent 8a2ee2c088
commit 4ac186811f
2 changed files with 22 additions and 15 deletions

View File

@@ -140,7 +140,7 @@ String _doctorText() {
appContext.runInZone(() => doctor.diagnose());
return logger.statusText;
} catch (error) {
return '';
} catch (error, trace) {
return 'encountered exception: $error\n$trace';
}
}