mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
add error message
This commit is contained in:
1 parent
3942679371
commit
223ff7d561
1 file changed
+1
@@ -50,6 +50,7 @@ func (this *InboundDetourHandler) Start() error {
|
|||||||
return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
|
return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
|
||||||
err := ich.handler.Listen(ich.port)
|
err := ich.handler.Listen(ich.port)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Error("Failed to start inbound detour on port %d: %v", ich.port, err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in new issue
Block a user