From 60705dc9392367c0957bd58fc5625c351b3b88e7c8445423ffe4b1d419c42444 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Tue, 10 Sep 2024 17:34:16 +0200 Subject: [PATCH] typo in error message --- gitea-events-rabbitmq-publisher/rabbitmq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea-events-rabbitmq-publisher/rabbitmq.go b/gitea-events-rabbitmq-publisher/rabbitmq.go index 11cd486..6f37b7b 100644 --- a/gitea-events-rabbitmq-publisher/rabbitmq.go +++ b/gitea-events-rabbitmq-publisher/rabbitmq.go @@ -50,7 +50,7 @@ func PublishMessage(giteaOrg, giteaWebhookType, action string, data []byte) erro select { case messageQueue <- msg: default: - return errors.New("Enable to queue message. Possibly queue full.") + return errors.New("Unable to queue message. Possibly queue full.") } return nil }