From afa81fdef8aa25841bc6073233a4a454368d832f Mon Sep 17 00:00:00 2001 From: Eddie Fiorentine Date: Sun, 4 Jan 2026 22:22:25 -0500 Subject: [PATCH] Update server/monitor-types/sip-options.js Co-authored-by: Frank Elsinga --- server/monitor-types/sip-options.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/server/monitor-types/sip-options.js b/server/monitor-types/sip-options.js index ad315cc2e..1ce720170 100644 --- a/server/monitor-types/sip-options.js +++ b/server/monitor-types/sip-options.js @@ -15,12 +15,8 @@ class SIPMonitorType extends MonitorType { * @throws Will throw an error if the command execution encounters any error. */ async check(monitor, heartbeat, _server) { - try { - let sipsakOutput = await this.runSipSak(monitor.hostname, monitor.port, 3000); - this.parseSipsakResponse(sipsakOutput, heartbeat); - } catch (err) { - throw new Error(`Error checking Sipsak: ${err} ${err.message} ${err.stack}`); - } + let sipsakOutput = await this.runSipSak(monitor.hostname, monitor.port, 3000); + this.parseSipsakResponse(sipsakOutput, heartbeat); } /**