1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 09:15:37 -05:00

fix error levels

This commit is contained in:
Darien Raymond
2017-12-27 22:25:12 +01:00
parent 9b15e2f6f7
commit 2bf5a008f0
11 changed files with 17 additions and 21 deletions

View File

@@ -77,7 +77,7 @@ func (w *tcpWorker) Start() error {
conns := make(chan internet.Connection, 16)
hub, err := internet.ListenTCP(ctx, w.address, w.port, conns)
if err != nil {
return newError("failed to listen TCP on ", w.port).Base(err)
return newError("failed to listen TCP on ", w.port).AtWarning().Base(err)
}
go w.handleConnections(conns)
w.hub = hub