Skip to content

Commit

Permalink
Merge pull request #1005 from Vedadiyan/main
Browse files Browse the repository at this point in the history
Fixed incorrect log method in README.md
  • Loading branch information
embano1 committed Jan 12, 2024
2 parents 9d3236f + 896e1d0 commit 998919d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -82,7 +82,9 @@ func main() {
if err != nil {
log.Fatalf("failed to create client, %v", err)
}
log.Fatal(c.StartReceiver(context.Background(), receive));
if err = c.StartReceiver(context.Background(), receive); err != nil {
log.Fatalf("failed to start receiver: %v", err)
}
}
```

Expand Down

0 comments on commit 998919d

Please sign in to comment.