Explorar el Código

remove "v2ray.com/core" in log (rebased from 9c1ad3ab93e59a478086083f60b0fe8e3c49faa7)

CalmLong hace 5 años
padre
commit
96a4ab8a77
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      common/errors/errors.go

+ 1 - 0
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