Ver código fonte

fix test break

Darien Raymond 8 anos atrás
pai
commit
6c736b8d57
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      common/errors/errors.go

+ 1 - 1
common/errors/errors.go

@@ -37,7 +37,7 @@ type Error struct {
 
 func (v *Error) formMessage() string {
 	if len(v.format) == 0 {
-		return serial.Concat(v.message)
+		return serial.Concat(v.message...)
 	}
 	return fmt.Sprintf(v.format, v.message...)
 }