This commit is contained in:
@@ -151,7 +151,7 @@ func BuildErrorInfo(err error) (string, string) {
|
||||
}
|
||||
|
||||
if stderrors.As(err, &appErr) && appErr != nil {
|
||||
return strconv.Itoa(appErr.Code), appErr.Message
|
||||
return strconv.Itoa(appErr.Code), appErr.Error()
|
||||
}
|
||||
|
||||
return "", err.Error()
|
||||
|
||||
Reference in New Issue
Block a user