From 97a84d9a66352a9972a446c89da315b801e94566 Mon Sep 17 00:00:00 2001 From: Yash Budhia Date: Sun, 6 Oct 2024 19:27:47 +0530 Subject: [PATCH] error_updated --- util/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/helpers.go b/util/helpers.go index 141ebcf..1ed8890 100644 --- a/util/helpers.go +++ b/util/helpers.go @@ -40,7 +40,7 @@ var blocklistedCommands = map[string]bool{ // BlockListedCommand checks if a command is blocklisted func BlockListedCommand(cmd string) error { if _, exists := blocklistedCommands[strings.ToUpper(cmd)]; exists { - return errors.New("command is blocklisted") + return errors.New("ERR unknown command '" + cmd + "'") } return nil }