aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2022-09-02 10:19:51 -0600
committerMatthew Holt <[email protected]>2022-09-02 10:19:51 -0600
commit5c7ae5e5056086c2340e1179a065b332561f326a (patch)
tree3e473052331aa2fbf5b834246d732e6e92a9377a /caddy.go
parent59286d2c7ede928cc24916abdf6c0fb9ee12b826 (diff)
downloadcaddy-5c7ae5e5056086c2340e1179a065b332561f326a.tar.gz
caddy-5c7ae5e5056086c2340e1179a065b332561f326a.zip
Minor fix of error log
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
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