From d1956d5408e1a89607e025ef136604f93248bef3 Mon Sep 17 00:00:00 2001 From: Joseph Adams Date: Fri, 20 Dec 2024 12:17:21 -0500 Subject: [PATCH] wording --- src/api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api.js b/src/api.js index 02a643a..4c0036c 100644 --- a/src/api.js +++ b/src/api.js @@ -62,7 +62,7 @@ module.exports = { } self.log('info', `Websocket Closed. Code: ${code}, Reason: ${reason || 'No reason provided.'}`) - self.updateStatus(InstanceStatus.ConnectionFailure, `Failed to connect to SCTE 104 Proxy.`) + self.updateStatus(InstanceStatus.ConnectionFailure, `Failed to communicate with SCTE 104 Proxy.`) self.WS = undefined // Ensure WS is set to null when closed delete self.WS @@ -188,7 +188,7 @@ module.exports = { let data = undefined if (!response.ok) { self.log('error', `HTTP Error: ${response.status} ${response.statusText}`) - self.updateStatus(InstanceStatus.ConnectionFailure, `Failed to connect to SCTE 104 Proxy.`) + self.updateStatus(InstanceStatus.ConnectionFailure, `Failed to communicate with SCTE 104 Proxy.`) } else { data = await response.json() self.updateStatus(InstanceStatus.Ok) //clear any previous connection errors @@ -197,7 +197,7 @@ module.exports = { return data } catch (error) { self.log('error', `REST Send Error: ${error}`) - self.updateStatus(InstanceStatus.ConnectionFailure, `Failed to connect to SCTE 104 Proxy.`) + self.updateStatus(InstanceStatus.ConnectionFailure, `Failed to communicate with SCTE 104 Proxy.`) } },