mirror of https://github.com/v2ray/v2ray-core
fix test break
parent
2d813295e6
commit
6c736b8d57
|
@ -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...)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue