summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index 4a82d22..26c149b 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