From dc9d8413c0ff767907fc3b3c149f630929543924 Mon Sep 17 00:00:00 2001 From: Kaveh Vahedipour Date: Tue, 10 Jan 2017 08:26:25 +0100 Subject: [PATCH] searching for broken collection creation in clusterinfo --- arangod/Cluster/ClusterInfo.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arangod/Cluster/ClusterInfo.cpp b/arangod/Cluster/ClusterInfo.cpp index 386971368d..18ee532429 100644 --- a/arangod/Cluster/ClusterInfo.cpp +++ b/arangod/Cluster/ClusterInfo.cpp @@ -1151,7 +1151,10 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName, AgencyCommResult res = ac.sendTransactionWithFailover(transaction); if (!res.successful()) { - errorMsg += std::string(" ") + __FILE__ + std::to_string(__LINE__); + errorMsg += std::string("\n") + __FILE__ + std::to_string(__LINE__); + errorMsg += std::string("\n") + res.errorMessage(); + errorMsg += std::string("\n") + res.errorDetails(); + errorMsg += std::string("\n") + res.body(); events::CreateCollection( name, TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN); return TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN;