Mercurial > hg > orthanc
diff Core/HttpServer/HttpServer.cpp @ 3330:10e2b9f4162f
more details in errors
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 21 Mar 2019 16:37:35 +0100 |
parents | 07a2f637b76d |
children | f744730c294b |
line wrap: on
line diff
--- a/Core/HttpServer/HttpServer.cpp Thu Mar 21 12:04:39 2019 +0100 +++ b/Core/HttpServer/HttpServer.cpp Thu Mar 21 16:37:35 2019 +0100 @@ -1056,7 +1056,8 @@ if (!pimpl_->context_) { - throw OrthancException(ErrorCode_HttpPortInUse); + throw OrthancException(ErrorCode_HttpPortInUse, + " (port = " + boost::lexical_cast<std::string>(port_) + ")"); } LOG(WARNING) << "HTTP server listening on port: " << GetPortNumber()