mirror of
https://github.com/cloudflare/cloudflared.git
synced 2026-05-14 19:40:41 +00:00
TUN-3471: Add structured log context to logs
This commit is contained in:
committed by
Arég Harutyunyan
parent
abab78730d
commit
55bf904689
+1
-1
@@ -72,7 +72,7 @@ func ServeMetrics(
|
||||
log.Info().Msg("Metrics server stopped")
|
||||
return nil
|
||||
}
|
||||
log.Error().Msgf("Metrics server quit with error: %s", err)
|
||||
log.Err(err).Msg("Metrics server failed")
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user