Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Mar 2, 2024
1 parent 2b17d99 commit 6f847a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/relayer/pkg/queue/rabbitmq/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func (r *RabbitMQ) Notify(ctx context.Context, wg *sync.WaitGroup) error {
r.Close(ctx)

if err := r.connect(); err != nil {
slog.Error("error connecting to rabbitmq", "err", err.Error())
return err
}

Expand All @@ -229,6 +230,7 @@ func (r *RabbitMQ) Notify(ctx context.Context, wg *sync.WaitGroup) error {
r.Close(ctx)

if err := r.connect(); err != nil {
slog.Error("error connecting to rabbitmq", "err", err.Error())
return err
}

Expand Down

0 comments on commit 6f847a3

Please sign in to comment.