From f365ef8329c76a8df3179c9bbad5324e61c9d958 Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Mon, 28 Oct 2024 11:42:17 -0700 Subject: [PATCH] fix: reword an error to make missing technique the error part --- src/send.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/send.js b/src/send.js index 9f2c852..456899d 100644 --- a/src/send.js +++ b/src/send.js @@ -31,6 +31,6 @@ async function post(config) { case !!config.inputs.webhook: return await new Webhook().post(config); default: - throw new SlackError(config.core, "No method found to post content"); + throw new SlackError(config.core, "No technique given to post content"); } }