summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-08-30 09:33:58 +0000
committerArne Juul <arnej@verizonmedia.com>2021-08-30 09:33:58 +0000
commitacabc639692f64fa9b26dab3a24454c83fea7099 (patch)
tree55db52bd9d4072803a90f2d10eb348280120efae
parentfd9dcecdca6df1b351224d5351c489d4198c27cf (diff)
add more information to exception message
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp b/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp
index 521e1f51906..b7fabf8de77 100644
--- a/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/documentdbconfigmanager.cpp
@@ -283,7 +283,8 @@ vespalib::string resolve_file(config::RpcFileAcquirer &fileAcquirer, vespalib::T
}
LOG(info, "Got file path from file acquirer: '%s' (%s, ref='%s')", filePath.c_str(), desc.c_str(), fileref.c_str());
if (filePath == "") {
- throw config::ConfigTimeoutException("could not get file path from file acquirer");
+ throw config::ConfigTimeoutException(fmt("could not get file path from file acquirer for %s (ref=%s)",
+ desc.c_str(), fileref.c_str()));
}
return filePath;
}