mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-22 12:08:28 +08:00
Minor fix of error log
This commit is contained in:
parent
59286d2c7e
commit
5c7ae5e505
2
caddy.go
2
caddy.go
|
@ -113,7 +113,7 @@ func Load(cfgJSON []byte, forceReload bool) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if notifyErr := notify.Error(err, 0); notifyErr != nil {
|
if notifyErr := notify.Error(err, 0); notifyErr != nil {
|
||||||
Log().Error("unable to notify to service manager of reload error",
|
Log().Error("unable to notify to service manager of reload error",
|
||||||
zap.Error(err),
|
zap.Error(notifyErr),
|
||||||
zap.String("reload_err", err.Error()))
|
zap.String("reload_err", err.Error()))
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user