nacos config
This commit is contained in:
parent
15f589c09d
commit
cd6a919145
|
@ -110,7 +110,7 @@ func main() {
|
|||
// 在发生错误时进行处理
|
||||
logx.Error(err)
|
||||
res.WriteHeader(http.StatusNotFound) // 返回404状态码
|
||||
_, err := res.Write([]byte(err.Error()))
|
||||
// _, err := res.Write([]byte(err.Error()))
|
||||
if err != nil {
|
||||
logx.Error(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user