1
0
Fork 0

add path to error message

This commit is contained in:
jsteemann 2018-08-27 22:31:57 +02:00
parent 1aa162d6d6
commit 1093c00cd1
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ std::string const& ScriptLoader::findScript(std::string const& name) {
char* result = TRI_SlurpFile(filename.c_str(), nullptr);
if (result == nullptr && (i == parts.size() - 1)) {
LOG_TOPIC(ERR, arangodb::Logger::FIXME) << "cannot locate file '" << StringUtils::correctPath(name) << "': " << TRI_last_error();
LOG_TOPIC(ERR, arangodb::Logger::FIXME) << "cannot locate file '" << StringUtils::correctPath(name) << "', path: '" << parts[i] << "': " << TRI_last_error();
}
if (result != nullptr) {