diff --git a/gin.go b/gin.go index 4b619183..d76eae1c 100644 --- a/gin.go +++ b/gin.go @@ -71,9 +71,10 @@ type ( func (a ErrorMsgs) String() string { var buffer bytes.Buffer for i, msg := range a { - text := fmt.Sprintf("Error #%02d: %s \n Meta: %v\n\n", (i + 1), msg.Err, msg.Meta) + text := fmt.Sprintf("Error #%02d: %s \n Meta: %v\n", (i + 1), msg.Err, msg.Meta) buffer.WriteString(text) } + buffer.WriteString("\n") return buffer.String() }