From 2d2c1866dff1afabb2c59e27c99fe7d1e9e17166 Mon Sep 17 00:00:00 2001 From: Matt Visnovsky Date: Wed, 5 Jun 2024 15:40:07 -0600 Subject: [PATCH] Fix: a typo --- server/monitor-types/snmp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/monitor-types/snmp.js b/server/monitor-types/snmp.js index 7c454ab68..2ca81ff71 100644 --- a/server/monitor-types/snmp.js +++ b/server/monitor-types/snmp.js @@ -32,7 +32,7 @@ class SNMPMonitorType extends MonitorType { error ? reject(error) : resolve(varbinds); }); }); - log.debug("monitor", `SNMP: Received varbinds (Type: ${snmp.ObjectType[varbinds[0].type]} Value: ${varbinds[0].value}`); + log.debug("monitor", `SNMP: Received varbinds (Type: ${snmp.ObjectType[varbinds[0].type]} Value: ${varbinds[0].value})`); if (varbinds.length === 0) { throw new Error(`No varbinds returned from SNMP session (OID: ${monitor.snmpOid})`);