diff --git a/simgear/io/HTTPRequest.cxx b/simgear/io/HTTPRequest.cxx index 23018d9c..2f5289bc 100644 --- a/simgear/io/HTTPRequest.cxx +++ b/simgear/io/HTTPRequest.cxx @@ -210,7 +210,8 @@ void Request::setFailure(int code, const std::string& reason) void Request::failed() { // no-op in base class - SG_LOG(SG_IO, SG_INFO, "request failed:" << url()); + SG_LOG(SG_IO, SG_INFO, "request failed:" << url() << " : " + << responseCode() << "/" << responseReason()); } Request::HTTPVersion Request::decodeVersion(const string& v)