diff --git a/common/errors/errors.go b/common/errors/errors.go index 00ea45408..435964347 100644 --- a/common/errors/errors.go +++ b/common/errors/errors.go @@ -38,6 +38,7 @@ func (err *Error) pkgPath() string { return "" } 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") return path