aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-10-26 22:41:51 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-10-26 22:41:51 +0530
commit08bc7c218aa8ce620ac624acd2c2e35bc836e37c (patch)
treebb770c0722ad6fed3f2267f1b8e7350534889516 /src
parentf4ab30f9a939587ddebfb50f55d999b458954bfb (diff)
parentff0eb89406ea9f3f5fa50c88be8424959679e029 (diff)
Merge branch 'restored_server_monitor' of https://github.com/browngraphicslab/Dash-Web into restored_server_monitor
Diffstat (limited to 'src')
-rw-r--r--src/server/DashSession/Session/agents/server_worker.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/DashSession/Session/agents/server_worker.ts b/src/server/DashSession/Session/agents/server_worker.ts
index afa5fc68d..6a19bfa5d 100644
--- a/src/server/DashSession/Session/agents/server_worker.ts
+++ b/src/server/DashSession/Session/agents/server_worker.ts
@@ -113,8 +113,8 @@ export class ServerWorker extends IPCMessageReceiver {
this.shouldServerBeResponsive = false;
// communicates via IPC to the master thread that it should dispatch a crash notification email
const { name, message, stack } = error;
- const deconstructed_error: ErrorLike = { name, message, stack };
- this.emit(Monitor.IntrinsicEvents.CrashDetected, { error: deconstructed_error });
+ const errorLike: ErrorLike = { name, message, stack };
+ this.emit(Monitor.IntrinsicEvents.CrashDetected, { error: errorLike });
await this.executeExitHandlers(error);
// notify master thread (which will log update in the console) of crash event via IPC
this.lifecycleNotification(red(`crash event detected @ ${new Date().toUTCString()}`));