소스 검색

Added log message to clarify error for BitTorrent server socket.

Tatsuhiro Tsujikawa 14 년 전
부모
커밋
f0cd83f809
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/PeerListenCommand.cc

+ 2 - 0
src/PeerListenCommand.cc

@@ -97,6 +97,8 @@ bool PeerListenCommand::bindPort(uint16_t& port, IntSequence& seq)
                         family_ == AF_INET?4:6, port));
       return true;
     } catch(RecoverableException& ex) {
+      A2_LOG_ERROR(fmt("Failed to setup IPv%d BitTorrent server socket",
+                       family_ == AF_INET?4:6));
       A2_LOG_ERROR_EX(fmt(MSG_BIND_FAILURE,
                           getCuid(), port),
                       ex);