diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -93,7 +93,7 @@ func Start(toAddr string, listener net.Listener) { if err != nil { g.Warning( "Error accepting connection", - "accept-connection", + "accept-connection-error", "err", err, ) continue @@ -103,12 +103,13 @@ func Start(toAddr string, listener net.Listener) { connTo, err := net.Dial("unix", toAddr) if err != nil { - g.Error( + g.Warning( "Error dialing connection", - "dial-connection", + "dial-connection-error", "err", err, ) - os.Exit(1) + connFrom.Close() + continue } defer connTo.Close() |