From c457561472ae19327e22ed86f4bbed9188d5338b Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 29 Jul 2021 08:47:12 +0100 Subject: [PATCH] HTTPRepo: Add detail to an error This is showing up in the wild, but not clear how, so extend the logging. --- simgear/io/HTTPRepository.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simgear/io/HTTPRepository.cxx b/simgear/io/HTTPRepository.cxx index de28b940..5115bb91 100644 --- a/simgear/io/HTTPRepository.cxx +++ b/simgear/io/HTTPRepository.cxx @@ -1424,7 +1424,8 @@ HTTPRepository::failure() const SG_LOG(SG_TERRASYNC, SG_WARN, "failed to update entry:" << relativePath << " status/code: " << innerResultCodeAsString(fileStatus) - << "/" << fileStatus); + << "/" << fileStatus + << "\nrepo:" << rootDir); simgear::reportFailure(simgear::LoadFailure::NetworkError, simgear::ErrorCode::TerraSync, "failed to update entry:" + innerResultCodeAsString(fileStatus),