mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[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 {
|
||||
e.logger.
|
||||
WithError(err).
|
||||
WithField("topic", strings.Join([]string{st.Event, st.Version}, "/")).
|
||||
Error("gave up retrying to subscribe")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue