Skip to content
Snippets Groups Projects
Commit 650be77e authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

wip

parent 0685f263
No related branches found
No related tags found
No related merge requests found
Pipeline #186027 failed
...@@ -91,7 +91,7 @@ func connect(addr string) (*amqp.Connection, error) { ...@@ -91,7 +91,7 @@ func connect(addr string) (*amqp.Connection, error) {
logrus.Debug("Connected to RabbitMQ") logrus.Debug("Connected to RabbitMQ")
return conn, nil 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) time.Sleep(2 * time.Second)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment