1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-26 13:56:12 -04:00

output detailed error message

This commit is contained in:
Darien Raymond 2017-02-10 12:00:37 +01:00
parent cfcf16feed
commit 396cf21597
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -67,7 +67,7 @@ func (h *Handler) Dispatch(ctx context.Context, outboundRay ray.OutboundRay) {
err := h.proxy.Process(ctx, outboundRay, h)
// Ensure outbound ray is properly closed.
if err != nil {
log.Warning("Proxyman|OutboundHandler: Failed to process outbound traffic.")
log.Warning("Proxyman|OutboundHandler: Failed to process outbound traffic: ", err)
if errors.Cause(err) != io.EOF {
outboundRay.OutboundOutput().CloseError()
} else {