Skip to content

Commit

Permalink
Catch exceptions in DoBuild and print them in a way that Github will …
Browse files Browse the repository at this point in the history
…highlight
  • Loading branch information
mikeage committed Dec 10, 2023
1 parent a9d1e85 commit 5d432c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Assets/Editor/BuildTiltBrush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,15 @@ static void CommandLine()
keystoreName, keystorePass,
keyaliasName, keyaliasPass))
{
DoBuild(tiltOptions);
try
{
DoBuild(tiltOptions);
}
catch (Exception Ex)
{
Debug.LogErrorFormat("::error ::_btb_ Exception caught <<{0}>>", Ex.Message);
throw;
}
}
}

Expand Down

0 comments on commit 5d432c7

Please sign in to comment.