Skip to content

Commit

Permalink
Merge pull request #67 from guitarrapc/guitarrapc-patch-1
Browse files Browse the repository at this point in the history
Update Builder.cs
  • Loading branch information
guitarrapc authored Apr 25, 2023
2 parents ee719e0 + f609f1c commit 333eef1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/UnityBuildRunner.Core/Builder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ public async Task<int> BuildAsync(ISettings settings, TimeSpan timeout)
if (process is null)
{
sw.Stop();
logger.LogCritical("Could not start Unity. Somthing blocked creating process.");
return 1;
throw new OperationCanceledException("Could not start Unity. Somthing blocked creating process.");
}

try
Expand Down

0 comments on commit 333eef1

Please sign in to comment.