mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-17 22:13:08 -08:00
Refine: geofile reading errors (#236)
This commit is contained in:
1 parent
e445d21f4b
commit
dfed0dc03a
1 file changed
+2
-2
@@ -162,7 +162,7 @@ func loadIP(filename, country string) ([]*router.CIDR, error) {
|
||||
}
|
||||
}
|
||||
|
||||
return nil, newError("country not found: " + country)
|
||||
return nil, newError("country not found in ", filename, ": ", country)
|
||||
}
|
||||
|
||||
func loadSite(filename, country string) ([]*router.Domain, error) {
|
||||
@@ -181,7 +181,7 @@ func loadSite(filename, country string) ([]*router.Domain, error) {
|
||||
}
|
||||
}
|
||||
|
||||
return nil, newError("country not found: " + country)
|
||||
return nil, newError("list not found in ", filename, ": ", country)
|
||||
}
|
||||
|
||||
type AttributeMatcher interface {
|
||||
|
||||
Reference in new issue
Block a user