From e0f1216ef5fed8728a465d5e9872a7e501445ae9 Mon Sep 17 00:00:00 2001 From: Simon Nilsson Date: Wed, 27 Mar 2024 19:15:46 +0100 Subject: [PATCH] Removed unnecessary try catch --- server/notification-providers/cellsynt.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/notification-providers/cellsynt.js b/server/notification-providers/cellsynt.js index 1d7da407..1a654d22 100644 --- a/server/notification-providers/cellsynt.js +++ b/server/notification-providers/cellsynt.js @@ -10,7 +10,6 @@ class Cellsynt extends NotificationProvider { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfully."; - try { let data = { params: { /* Your username (received when account is setup). @@ -113,9 +112,6 @@ class Cellsynt extends NotificationProvider { } return okMsg; - } catch (error) { - this.throwGeneralAxiosError(error); - } } }