From 00e6f2fc2c20edf41ad9d112c6cb8bbacf99e44d Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 30 Oct 2013 12:11:32 +0100 Subject: [PATCH] print error details --- arangod/VocBase/server.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arangod/VocBase/server.c b/arangod/VocBase/server.c index c862c8a17e..6f03479969 100644 --- a/arangod/VocBase/server.c +++ b/arangod/VocBase/server.c @@ -567,10 +567,15 @@ static int CreateApplicationDirectory (char const* name, res = TRI_CreateDirectory(path); 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 { - 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)); } }