diff options
| author | Naafiyan Ahmed <naafiyan@gmail.com> | 2022-03-17 12:17:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 12:17:27 -0400 |
| commit | 5c874c6829d9957696dfe61014173b6800c864df (patch) | |
| tree | 23b7206679d500fc039a4302255cf3d6e17b47d3 /src/server/DashSession/Session/agents/monitor.ts | |
| parent | a299d1766aa7f4bf3e6bbc3032a39b6b5ae28b4b (diff) | |
| parent | 5a385e46937a2f79d557b4ee929e78ba78aca8bf (diff) | |
Merge pull request #55 from brown-dash/speedups2
Speedups2
Diffstat (limited to 'src/server/DashSession/Session/agents/monitor.ts')
| -rw-r--r-- | src/server/DashSession/Session/agents/monitor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/DashSession/Session/agents/monitor.ts b/src/server/DashSession/Session/agents/monitor.ts index 0fdaf07ff..9cb5ab576 100644 --- a/src/server/DashSession/Session/agents/monitor.ts +++ b/src/server/DashSession/Session/agents/monitor.ts @@ -178,7 +178,7 @@ export class Monitor extends IPCMessageReceiver { // ensure all necessary and no excess information is specified by the configuration file validate(config, configurationSchema, options); config = Utilities.preciseAssign({}, defaultConfig, config); - } catch (error) { + } catch (error: any) { if (error instanceof ValidationError) { console.log(red("\nSession configuration failed.")); console.log("The given session.config.json configuration file is invalid."); |
