fix: wrong log level

This commit is contained in:
Ludovic Fernandez 2023-09-25 09:10:05 +02:00 committed by GitHub
parent 46f4a8541e
commit 4acec60e72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ func (p *Provider) Provide(configurationChan chan<- dynamic.Message, pool *safe.
configuration, err := p.BuildConfiguration()
if err != nil {
if p.Watch {
log.Debug().
log.Error().
Str(logs.ProviderName, providerName).
Err(err).
Msg("Error while building configuration (for the first time)")