Change Globals.BuildErrors into BuildException #1673

This commit is contained in:
Wojtek Figat
2023-11-15 11:57:53 +01:00
parent 385693afff
commit 3a59cfcf20
5 changed files with 18 additions and 15 deletions

View File

@@ -172,7 +172,7 @@ namespace Flax.Build
catch (Exception ex)
{
// Ignore exception logging for build errors
if (!Globals.BuildErrors)
if (!(ex is BuildException))
Log.Exception(ex);
failed = true;
}