1
0
Fork 0

improve error message on startup

This commit is contained in:
Jan Steemann 2013-11-14 10:37:48 +01:00
parent ba5d75afff
commit 5b39060b8a
1 changed files with 5 additions and 2 deletions

View File

@ -564,10 +564,13 @@ static int CreateBaseApplicationDirectory (char const* basePath,
res = TRI_CreateDirectory(path);
if (res == TRI_ERROR_NO_ERROR) {
LOG_INFO("created base application directory '%s'", path);
LOG_INFO("created base application directory '%s'",
path);
}
else {
LOG_ERROR("unable to create base application directory '%s'", path);
LOG_ERROR("unable to create base application directory '%s': %s",
path,
TRI_errno_string(res));
}
}