mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
chore: wrap errors. (#1070)
This commit is contained in:
parent
9d31db300b
commit
2da1ce06ea
114 changed files with 584 additions and 565 deletions
|
|
@ -288,7 +288,7 @@ func goTool() (string, error) {
|
|||
|
||||
goBin, err := exec.LookPath("go" + exeSuffix)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("cannot find go tool: %v", err)
|
||||
return "", fmt.Errorf("cannot find go tool: %w", err)
|
||||
}
|
||||
|
||||
return goBin, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue