Logging tweak

This commit is contained in:
Neil Alexander
2021-07-10 13:37:13 +01:00
parent 5904c9b960
commit e0b3f6089d

View File

@@ -117,7 +117,6 @@ func (q *Queue) run() {
if err := func() error {
conn, err := q.queues.Transport.Dial(q.destination)
if err != nil {
q.queues.Log.Println("Failed to dial destination", q.destination, "due to error:", err)
return fmt.Errorf("q.queues.Transport.Dial: %w", err)
}
defer conn.Close()