diff --git a/caddy.go b/caddy.go index 4a82d22cc..26c149b9b 100644 --- a/caddy.go +++ b/caddy.go @@ -113,7 +113,7 @@ func Load(cfgJSON []byte, forceReload bool) error { if err != nil { if notifyErr := notify.Error(err, 0); notifyErr != nil { Log().Error("unable to notify to service manager of reload error", - zap.Error(err), + zap.Error(notifyErr), zap.String("reload_err", err.Error())) } return