diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 61f3201..32ff05d 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -152,6 +152,9 @@ Loop: } break Loop } + // Make sure we unregister at the end of the loop + registerCode = response.Code + p.log = p.log.With().Str("code", request.Code).Logger() p.log.Debug().Msg("Registered provider")