mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-18 00:39:54 -04:00
Rename errors with Error prefix
This commit is contained in:
@@ -115,7 +115,7 @@ func (this *InboundDetourConfig) UnmarshalJSON(data []byte) error {
|
||||
}
|
||||
if jsonConfig.PortRange == nil {
|
||||
log.Error("Point: Port range not specified in InboundDetour.")
|
||||
return BadConfiguration
|
||||
return ErrorBadConfiguration
|
||||
}
|
||||
this.Protocol = jsonConfig.Protocol
|
||||
this.PortRange = *jsonConfig.PortRange
|
||||
|
||||
Reference in New Issue
Block a user