[#18] Fix typo in error message #23
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func FormErrorResponse(message string, err error) (int, string, []zap.Field) {
|
|||
logFields = append(logFields, zap.String("error_detail", reason))
|
||||
case client.IsErrObjectNotFound(err) || client.IsErrContainerNotFound(err):
|
||||
statusCode = fasthttp.StatusNotFound
|
||||
msg = "NotFound"
|
||||
msg = "Not Found"
|
||||
default:
|
||||
statusCode = fasthttp.StatusBadRequest
|
||||
msg = fmt.Sprintf("%s: %v", message, err)
|
||||
|
|
Loading…
Reference in a new issue