From 64658d1304562e278e4a611a52749f5fc29a40f7 Mon Sep 17 00:00:00 2001 From: Harrison Goscenski Date: Tue, 13 Feb 2024 09:37:55 -0600 Subject: [PATCH] Removing unecessary comment --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 42e0154..722b0f1 100644 --- a/src/index.js +++ b/src/index.js @@ -144,7 +144,7 @@ module.exports = class WyzeAPI { throw e; } - // this.log.debug(result.data.msg); + if (result.data.code != 1) { this.log.debug(`Potentially recoverable error during request, '${result.data.msg}'`) throw new Error("Potentially recoverable error during request");