From 650be77e2bedc7b2d6028f4e6cee240b979d12d2 Mon Sep 17 00:00:00 2001
From: Neil Schark <neil.schark@h-da.de>
Date: Wed, 6 Mar 2024 10:49:35 +0000
Subject: [PATCH] wip

---
 controller/eventService/Service.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/eventService/Service.go b/controller/eventService/Service.go
index c1ca1ed7d..4bda9d109 100644
--- a/controller/eventService/Service.go
+++ b/controller/eventService/Service.go
@@ -91,7 +91,7 @@ func connect(addr string) (*amqp.Connection, error) {
 			logrus.Debug("Connected to RabbitMQ")
 			return conn, nil
 		}
-		logrus.Error("could not connect to RabbitMQ. Retrying in 2 seconds.")
+		logrus.Errorf("could not connect to RabbitMQ with error: %s. Retrying in 2 seconds.", err.Error())
 		time.Sleep(2 * time.Second)
 	}
 
-- 
GitLab