From 396cf21597cd50bdb4a4f1b46fcd1a5fb659d6a8 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 10 Feb 2017 12:00:37 +0100 Subject: [PATCH] output detailed error message --- app/proxyman/outbound/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proxyman/outbound/handler.go b/app/proxyman/outbound/handler.go index 63c1c6f5e..c81db1bae 100644 --- a/app/proxyman/outbound/handler.go +++ b/app/proxyman/outbound/handler.go @@ -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 {