From 4baf3985dc56b1d61fa5cdce9f3c9275f7b429f1 Mon Sep 17 00:00:00 2001 From: Leonid Bugaev Date: Mon, 25 Apr 2016 16:46:34 +0500 Subject: [PATCH] More debugging --- output_tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output_tcp.go b/output_tcp.go index 9d46fa7..3928f69 100644 --- a/output_tcp.go +++ b/output_tcp.go @@ -50,7 +50,7 @@ func (o *TCPOutput) worker() { _, err := conn.Write([]byte(payloadSeparator)) if err != nil { - log.Println("Worker failed on write, exitings and starting new worker") + log.Println("Worker failed on write, exitings and starting new worker:", err) go o.worker() break }