mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 22:37:06 +02:00
NETSCRIPT: Log script kill immediately and identify the killing script. (#1907)
This commit is contained in:
@@ -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: "),
|
||||
);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user