Hide exception when build errors occurs in referenced targets
This commit is contained in:
@@ -628,7 +628,10 @@ namespace Flax.Build
|
||||
}
|
||||
}
|
||||
if (failed)
|
||||
{
|
||||
Globals.BuildErrors = true;
|
||||
throw new Exception($"Failed to build target {target.Name}. See log.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -689,7 +692,10 @@ namespace Flax.Build
|
||||
}
|
||||
}
|
||||
if (failed)
|
||||
{
|
||||
Globals.BuildErrors = true;
|
||||
throw new Exception($"Failed to build target {target.Name}. See log.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user