Skip to content

Commit 5c019ba

Browse files
Update BetterCoros.cs
1 parent 4689f3b commit 5c019ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Code/Helpers/BetterCoros.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ private static IEnumerator<float> Wrapper(
3939
{
4040
onException?.Invoke(compErr);
4141
scr.Error(compErr.Message);
42+
goto End;
4243
}
4344
catch (ScriptRuntimeError runErr)
4445
{
4546
onException?.Invoke(runErr);
46-
scr.Error($"SER was not able to predict this error before running the script: " +
47-
$"{runErr.Message ?? "ERROR UNSPECIFIED"}");
47+
scr.Error(runErr.Message);
4848
goto End;
4949
}
5050
catch (DeveloperFuckedUpException devErr)

0 commit comments

Comments
 (0)