summaryrefslogtreecommitdiffhomepage
path: root/caddyconfig
diff options
context:
space:
mode:
authorKévin Dunglas <[email protected]>2024-08-23 19:01:28 +0200
committerGitHub <[email protected]>2024-08-23 11:01:28 -0600
commit2028da4e74cd41f0f7f94222c6599da1a371d4b8 (patch)
tree9d29ec3f057d913a5daba11f98b42d80f9da3ed5 /caddyconfig
parent4ade967005929e98ae2265d9d7c89b33f1ca951b (diff)
downloadcaddy-2028da4e74cd41f0f7f94222c6599da1a371d4b8.tar.gz
caddy-2028da4e74cd41f0f7f94222c6599da1a371d4b8.zip
ci: build and test with Go 1.23 (#6526)
* chore: build and test with Go 1.23 * ci: bump golangci-lint to v1.60 * fix: make properly wrap errors * ci: remove Go 1.21
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/caddyfile/dispenser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/caddyfile/dispenser.go b/caddyconfig/caddyfile/dispenser.go
index e36275a1c..325bb54d3 100644
--- a/caddyconfig/caddyfile/dispenser.go
+++ b/caddyconfig/caddyfile/dispenser.go
@@ -415,7 +415,7 @@ func (d *Dispenser) EOFErr() error {
// Err generates a custom parse-time error with a message of msg.
func (d *Dispenser) Err(msg string) error {
- return d.Errf(msg)
+ return d.WrapErr(errors.New(msg))
}
// Errf is like Err, but for formatted error messages