From be3b23469c00728084b8d36ac83dbdaecda280f3 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 7 Dec 2016 16:56:15 +0100 Subject: [PATCH] more diagnostics --- arangod/VocBase/replication-dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/VocBase/replication-dump.cpp b/arangod/VocBase/replication-dump.cpp index 297be4e063..4ed12aef0b 100644 --- a/arangod/VocBase/replication-dump.cpp +++ b/arangod/VocBase/replication-dump.cpp @@ -398,7 +398,6 @@ static int SliceifyMarker(TRI_replication_dump_t* dump, builder.add("rev", slice.get(StaticStrings::RevString)); } // convert 2300 markers to 2301 markers for edges - Append(dump, ",\"type\":"); if (type == TRI_DF_MARKER_VPACK_DOCUMENT && isEdgeCollection) { builder.add("type", VPackValue(2301)); } else { @@ -553,6 +552,7 @@ static int DumpCollection(TRI_replication_dump_t* dump, } if (res != TRI_ERROR_NO_ERROR) { + LOG(ERR) << "got error during dump dump of collection '" << collection->name() << "': " << TRI_errno_string(res); THROW_ARANGO_EXCEPTION(res); }