Skip to content

Commit

Permalink
Print explicit error on retry timeout (#123)
Browse files Browse the repository at this point in the history
* Print explicit error on retry timeout
  • Loading branch information
kacperdrobny authored Jan 23, 2024
1 parent c8c6617 commit 3d72b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ func (sc *SubscriptionClient) Run() error {
}

if err := sc.init(); err != nil {
return fmt.Errorf("retry timeout. exiting...")
return fmt.Errorf("retry timeout, %w", err)
}

subContext := sc.getContext()
Expand Down

0 comments on commit 3d72b42

Please sign in to comment.