浏览代码

add error message

Darien Raymond 10 年之前
父节点
当前提交
223ff7d561
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      shell/point/inbound_detour.go

+ 1 - 0
shell/point/inbound_detour.go

@@ -50,6 +50,7 @@ func (this *InboundDetourHandler) Start() error {
 		return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
 			err := ich.handler.Listen(ich.port)
 			if err != nil {
+				log.Error("Failed to start inbound detour on port %d: %v", ich.port, err)
 				return err
 			}
 			return nil