aboutsummaryrefslogtreecommitdiff
path: root/src/server/DashSession/Session/agents/monitor.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-03-02 14:43:48 -0500
committerbobzel <zzzman@gmail.com>2022-03-02 14:43:48 -0500
commit398a50bc1d7e77691620a4a6752fd38d4bb391b0 (patch)
tree42f56a2bc7cc1d661c3dfa61d49cc472fffb553c /src/server/DashSession/Session/agents/monitor.ts
parent35f0c9940d0ea7c0cb37c711557454b77ac038ad (diff)
upgraded to typescript 4.6.2
Diffstat (limited to 'src/server/DashSession/Session/agents/monitor.ts')
-rw-r--r--src/server/DashSession/Session/agents/monitor.ts2
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.");