mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 23:09:23 +02:00
core/logging: change log.Error function (#5251)
* core/logging: change log.Error function * use request id
This commit is contained in:
parent
97bf5edc54
commit
dad954ae16
66 changed files with 163 additions and 166 deletions
|
@ -51,7 +51,7 @@ func (src *LayeredSource) rebuild(ctx context.Context, next *Config) *Config {
|
|||
|
||||
cfg := next.Clone()
|
||||
if err := src.builder(cfg); err != nil {
|
||||
log.Error(ctx).Err(err).Msg("building config")
|
||||
log.Ctx(ctx).Error().Err(err).Msg("building config")
|
||||
cfg = next
|
||||
}
|
||||
src.cfg = cfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue