NETSCRIPT: Log script kill immediately and identify the killing script. (#1907)

This commit is contained in:
Yichi Zhang
2025-01-12 21:07:01 -08:00
committed by GitHub
parent 0e8dca85e1
commit e6a1c344d3
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ Otherwise, this can also occur if you have attempted to launch a script from a t
killWorkerScript(workerScript);
workerScript.log("", () =>
error instanceof ScriptDeath
? "Script killed."
? "main() terminated."
: getErrorMessageWithStackAndCause(error, "Script crashed due to an error: "),
);
})