Update access log in vmess in

pull/40/head
V2Ray 2015-10-09 17:49:59 +02:00
parent fc80d5e279
commit 03de798a58
1 changed files with 1 additions and 1 deletions

View File

@ -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
}