mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
cleanup error messages
This commit is contained in:
@@ -15,7 +15,7 @@ func CreateInboundHandler(ctx context.Context, config interface{}) (Inbound, err
|
||||
case Inbound:
|
||||
return h, nil
|
||||
default:
|
||||
return nil, newError("Proxy: Not a InboundHandler.")
|
||||
return nil, newError("not a InboundHandler")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,6 @@ func CreateOutboundHandler(ctx context.Context, config interface{}) (Outbound, e
|
||||
case Outbound:
|
||||
return h, nil
|
||||
default:
|
||||
return nil, newError("Proxy: Not a OutboundHandler.")
|
||||
return nil, newError("not a OutboundHandler")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user