Skip to content

Commit

Permalink
feat: add logging to rabbitmq
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyr298 committed Jun 27, 2024
1 parent dd83f28 commit d8e4f8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/messaging/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ func newPublisher() *Publisher {
)
if err != nil {
publisher.waitList <- msg
log.Println(err.Error())
} else {
log.Println("message sent")
}

cancel()
Expand Down

0 comments on commit d8e4f8b

Please sign in to comment.