diff --git a/index.js b/index.js index 25e93f7..6fc1cb3 100644 --- a/index.js +++ b/index.js @@ -33,6 +33,7 @@ const initializeConfigUpdate = (conf) => { webSocket.on("error", (error) => { console.error(error); + reject(error); }); webSocket.on("close", () => {