Skip to content

Commit

Permalink
chore: more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
amuslija committed Mar 19, 2024
1 parent a161517 commit 0c766b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (c *client) loop(messageChan <-chan paho.Message, timeout uint) {
}
// TODO authorize multiple listeners
if c.messageListener != nil {

println("message listener attached")

Check failure on line 106 in subscribe.go

View workflow job for this annotation

GitHub Actions / lint

use of `println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
if _, err := c.messageListener(ev); err != nil {
return err
}
Expand Down

0 comments on commit 0c766b8

Please sign in to comment.