mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-14 07:26:59 +08:00
ES Lint
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user