8000 Add more error info · jsxtech/arangodb@b29c437 · GitHub
[go: up one dir, main page]

Skip to content

Commit b29c437

Browse files
author
Andreas Streichardt
committed
Add more error info
1 parent f7b80bf commit b29c437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/server/modules/@arangodb/cluster.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function startReadingQuery (endpoint, collName, timeout) {
8585
}
8686
catch (err) {
8787
console.error("startReadingQuery: Bad response body from",
88-
"/_api/query/current", r);
88+
"/_api/query/current", r, JSON.stringify(err));
8989
continue;
9090
}
9191
for (var i = 0; i < r.length; i++) {
@@ -1116,7 +1116,7 @@ function setupReplication () {
11161116
}
11171117
}
11181118
catch (err) {
1119-
console.error("Could not set up replication for database ", database);
1119+
console.error("Could not set up replication for database ", database, JSON.stringify(err));
11201120
ok = false;
11211121
}
11221122
}

0 commit comments

Comments
 (0)
0