fix: bug fix

This commit is contained in:
JustSong
2024-04-19 23:37:44 +08:00
parent 4ba562c63d
commit a225850a6e
5 changed files with 94 additions and 30 deletions

View File

@@ -43,7 +43,7 @@ func wrapErr(err error) *relaymodel.ErrorWithStatusCode {
return &relaymodel.ErrorWithStatusCode{
StatusCode: http.StatusInternalServerError,
Error: relaymodel.Error{
Message: fmt.Sprintf("%+v", err),
Message: fmt.Sprintf("%s", err.Error()),
},
}
}