add more information to exception message
@@ -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;
}
