1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 14:06:58 -05:00

include base error

This commit is contained in:
Darien Raymond 2016-12-15 15:36:50 +01:00
parent 50bc195f7f
commit c693867603
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -13,7 +13,7 @@ func (v *Server) listenUDP() error {
v.udpServer = udp.NewUDPServer(v.packetDispatcher)
udpHub, err := udp.ListenUDP(v.meta.Address, v.meta.Port, udp.ListenOption{Callback: v.handleUDPPayload})
if err != nil {
log.Error("Socks: Failed to listen on udp ", v.meta.Address, ":", v.meta.Port)
log.Error("Socks: Failed to listen on udp (", v.meta.Address, ":", v.meta.Port, "): ", err)
return err
}
v.udpMutex.Lock()