From 03de798a58f177633bbf635907c1098f992a4a86 Mon Sep 17 00:00:00 2001 From: V2Ray Date: Fri, 9 Oct 2015 17:49:59 +0200 Subject: [PATCH] Update access log in vmess in --- proxy/vmess/vmessin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/vmess/vmessin.go b/proxy/vmess/vmessin.go index d7b86eb8..afde04ad 100644 --- a/proxy/vmess/vmessin.go +++ b/proxy/vmess/vmessin.go @@ -68,7 +68,7 @@ func (handler *VMessInboundHandler) HandleConnection(connection *net.TCPConn) er request, err := requestReader.Read(connReader) if err != nil { - log.Access(connection.RemoteAddr().String(), "", log.AccessRejected, "Invalid Auth") + log.Access(connection.RemoteAddr().String(), "", log.AccessRejected, err.Error()) log.Warning("VMessIn: Invalid request from (%s): %v", connection.RemoteAddr().String(), err) return err }