Improve Windows build failure message (#36845)

* Improve Windows build failure message

* Undo dartfmt to match source formatting

* Removed prompt to file new issue per PR change request
This commit is contained in:
GroovinChip 2019-08-01 13:32:38 -04:00 committed by Zachary Anderson
parent 7244cbb9b2
commit ced207836b

View File

@ -81,7 +81,7 @@ Future<void> buildWindows(WindowsProject windowsProject, BuildInfo buildInfo, {S
status.cancel();
}
if (result != 0) {
throwToolExit('Build process failed');
throwToolExit('Build process failed. To view the stack trace, please run `flutter run -d windows -v`.');
}
flutterUsage.sendTiming('build', 'vs_build', Duration(milliseconds: sw.elapsedMilliseconds));
}