use go1.23 (#4495)

This commit is contained in:
fatedier
2024-10-17 17:22:41 +08:00
committed by GitHub
parent 3a08c2aeb0
commit f7a06cbe61
12 changed files with 35 additions and 35 deletions

View File

@@ -137,7 +137,7 @@ func (pw *Wrapper) SetRunningStatus(remoteAddr string, respErr string) error {
pw.Phase = ProxyPhaseStartErr
pw.Err = respErr
pw.lastStartErr = time.Now()
return fmt.Errorf(pw.Err)
return fmt.Errorf("%s", pw.Err)
}
if err := pw.pxy.Run(); err != nil {