mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-06-10 14:29:56 +00:00
fix: log prefix display not completed
This commit is contained in:
parent
608764a8a0
commit
212f0ff135
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ main/config.yml
|
|||||||
.idea/*
|
.idea/*
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.bak
|
*.bak
|
||||||
|
go.work*
|
@ -2,8 +2,6 @@ package limiter
|
|||||||
|
|
||||||
import "github.com/xtls/xray-core/common/errors"
|
import "github.com/xtls/xray-core/common/errors"
|
||||||
|
|
||||||
type errPathObjHolder struct{}
|
|
||||||
|
|
||||||
func newError(values ...interface{}) *errors.Error {
|
func newError(values ...interface{}) *errors.Error {
|
||||||
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
return errors.New(values...)
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,6 @@ package rule
|
|||||||
|
|
||||||
import "github.com/xtls/xray-core/common/errors"
|
import "github.com/xtls/xray-core/common/errors"
|
||||||
|
|
||||||
type errPathObjHolder struct{}
|
|
||||||
|
|
||||||
func newError(values ...interface{}) *errors.Error {
|
func newError(values ...interface{}) *errors.Error {
|
||||||
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
return errors.New(values...)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user