[eventsub] Fix: Log error when giving up subscription retries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9e2510ec09
commit
61bab3c984
1 changed files with 1 additions and 0 deletions
|
@ -431,6 +431,7 @@ func (e *EventSubSocketClient) retryBackgroundSubscribe(st eventSubSocketSubscri
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e.logger.
|
e.logger.
|
||||||
|
WithError(err).
|
||||||
WithField("topic", strings.Join([]string{st.Event, st.Version}, "/")).
|
WithField("topic", strings.Join([]string{st.Event, st.Version}, "/")).
|
||||||
Error("gave up retrying to subscribe")
|
Error("gave up retrying to subscribe")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue