mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
fix logs prefix matching order
This commit is contained in:
parent
e87e3d6b85
commit
78c1993431
@ -38,8 +38,8 @@ func (err *Error) pkgPath() string {
|
||||
return ""
|
||||
}
|
||||
path := reflect.TypeOf(err.pathObj).PkgPath()
|
||||
path = strings.TrimPrefix(path, "github.com/v2fly/v2ray-core/v4")
|
||||
path = strings.TrimPrefix(path, "github.com/v2fly/v2ray-core/v4/")
|
||||
path = strings.TrimPrefix(path, "github.com/v2fly/v2ray-core/v4")
|
||||
return path
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user