This commit is contained in:
Matt Visnovsky 2024-06-13 12:12:17 -06:00
parent 9820f57c64
commit 6fc0cbf415

View file

@ -50,8 +50,6 @@ class SNMPMonitorType extends MonitorType {
} else { } else {
throw new Error(`JSON query does not pass (comparing ${response} ${this.jsonPathOperator} ${this.expectedValue})`); throw new Error(`JSON query does not pass (comparing ${response} ${this.jsonPathOperator} ${this.expectedValue})`);
} }
} catch (err) {
throw err;
} finally { } finally {
if (session) { if (session) {
session.close(); session.close();