MISC: Remove unsed attribues of internal ScriptDeath. (#1513)

This commit is contained in:
Tom Prince
2024-07-23 18:50:51 -06:00
committed by GitHub
parent 42bcfa1889
commit 854c1a5921
3 changed files with 3 additions and 14 deletions
-4
View File
@@ -20,14 +20,10 @@ export class ScriptDeath {
/** IP Address on which the script was running */
hostname: string;
/** Status message in case of script error. */
errorMessage = "";
constructor(ws: WorkerScript) {
this.pid = ws.pid;
this.name = ws.name;
this.hostname = ws.hostname;
this.errorMessage = ws.errorMessage;
Object.freeze(this);
}