@marcel91200 / caddy Mirror · read-only / commits / 30b80bec
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 13:30 UTC

notify: Always send "READY=1" even after an error (#7597)

Francis Lavoie committed Mar 28, 2026 at 15:08 UTC 30b80bece82822d03302a0260465e5c80da920b1
1 file changed +2 -3
caddy.go
+2 -3
@@ -127,10 +127,9 @@ func Load(cfgJSON []byte, forceReload bool) error {
127 zap.Error(notifyErr),
128 zap.String("reload_err", err.Error()))
129 }
130 - return
130 }
132 - if err := notify.Ready(); err != nil {
133 - Log().Error("unable to notify to service manager of ready state", zap.Error(err))
131 + if notifyErr := notify.Ready(); notifyErr != nil {
132 + Log().Error("unable to notify to service manager of ready state", zap.Error(notifyErr))
133 }
134 }()
135