summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2022-09-02 10:19:51 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2022-09-02 10:19:51 -0600
commit5c7ae5e5056086c2340e1179a065b332561f326a (patch)
tree3e473052331aa2fbf5b834246d732e6e92a9377a
parent59286d2c7ede928cc24916abdf6c0fb9ee12b826 (diff)
Minor fix of error log
-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