mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
remove "v2ray.com/core" in log (rebased from 9c1ad3ab93
)
This commit is contained in:
parent
0506757caf
commit
96a4ab8a77
@ -38,6 +38,7 @@ func (err *Error) pkgPath() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
path := reflect.TypeOf(err.pathObj).PkgPath()
|
path := reflect.TypeOf(err.pathObj).PkgPath()
|
||||||
|
//TODO update required on release
|
||||||
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")
|
path = strings.TrimPrefix(path, "github.com/v2fly/v2ray-core/v4")
|
||||||
return path
|
return path
|
||||||
|
Loading…
Reference in New Issue
Block a user