Skip to content

Commit

Permalink
add log when sending message
Browse files Browse the repository at this point in the history
  • Loading branch information
muhfaris committed Dec 26, 2019
1 parent ad8a7d9 commit 64996e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func (q *ConfigRabbitMQArgument) Send(message []byte) {
Body: message,
})
logError("Sending message to queue failed", err)
log.Println("Sending message successfull:", string(message))
}

func (q *ConfigRabbitMQArgument) consume(consumer messageConsumer) {
Expand Down

0 comments on commit 64996e7

Please sign in to comment.