diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-07-21 21:59:26 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-07-21 21:59:26 +0900 |
| commit | f0cd83f809ea679ab035f5827dba93a3ee25c59b (patch) | |
| tree | 952b8fbe52c7e2baa8bb6a7bf6681ffebddf6dcf | |
| parent | e15f4edf8b52c304f13329dd209f00956e3801f8 (diff) | |
Added log message to clarify error for BitTorrent server socket.
| -rw-r--r-- | src/PeerListenCommand.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PeerListenCommand.cc b/src/PeerListenCommand.cc index 4e80488a..28b7e2d4 100644 --- a/src/PeerListenCommand.cc +++ b/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); |
