Commit ced20783 authored by GroovinChip's avatar GroovinChip Committed by Zachary Anderson

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
parent 7244cbb9
...@@ -81,7 +81,7 @@ Future<void> buildWindows(WindowsProject windowsProject, BuildInfo buildInfo, {S ...@@ -81,7 +81,7 @@ Future<void> buildWindows(WindowsProject windowsProject, BuildInfo buildInfo, {S
status.cancel(); status.cancel();
} }
if (result != 0) { 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)); flutterUsage.sendTiming('build', 'vs_build', Duration(milliseconds: sw.elapsedMilliseconds));
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment