mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-23 03:10:00 -04:00
fix test break
This commit is contained in:
@@ -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...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user