Skip to content

Commit

Permalink
fix: return create port log (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangSetSail authored Feb 10, 2025
1 parent ff7853c commit c4864c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controller/apigateway/api_gateway_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func (g Struct) CreateTCPRoute(w http.ResponseWriter, r *http.Request) {
} else {
// 其他错误,返回失败
logrus.Errorf("create tcp rule func, create svc failure: %s", err.Error())
httputil.ReturnBcodeError(r, w, bcode.ErrPortExists)
httputil.ReturnBcodeError(r, w, fmt.Errorf("create tcp rule func, create svc failure: %s", err.Error()))
return
}
}
Expand Down

0 comments on commit c4864c0

Please sign in to comment.