From 3d72b42acf062192aaa22867613d1f79693fdad0 Mon Sep 17 00:00:00 2001 From: Kacper <146739248+kacperdrobny@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:07:35 +0100 Subject: [PATCH] Print explicit error on retry timeout (#123) * Print explicit error on retry timeout --- subscription.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscription.go b/subscription.go index 0318fc1..19ce18d 100644 --- a/subscription.go +++ b/subscription.go @@ -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()