1
0
Fork 0

print error details

This commit is contained in:
Jan Steemann 2013-10-30 12:11:32 +01:00
parent 7f58b05df9
commit 00e6f2fc2c
1 changed files with 7 additions and 2 deletions

View File

@ -567,10 +567,15 @@ static int CreateApplicationDirectory (char const* name,
res = TRI_CreateDirectory(path); res = TRI_CreateDirectory(path);
if (res == TRI_ERROR_NO_ERROR) { if (res == TRI_ERROR_NO_ERROR) {
LOG_INFO("created application directory '%s' for database '%s'", path, name); LOG_INFO("created application directory '%s' for database '%s'",
path,
name);
} }
else { else {
LOG_ERROR("unable to create application directory '%s' for database '%s'", path, name); LOG_ERROR("unable to create application directory '%s' for database '%s': %s",
path,
name,
TRI_errno_string(res));
} }
} }