1
0
Fork 0

Fixed error num comparison (#6941)

This commit is contained in:
Tobias Gödderz 2018-10-17 14:14:43 +02:00 committed by Jan
parent 45b812c668
commit 4bcb3b755c
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ function MovingShardsWithViewSuite (options) {
// server.
if (e instanceof arangodb.ArangoError
&& e.errorNum === internal.ERROR_ARANGO_DATA_SOURCE_NOT_FOUND) {
&& e.errorNum === internal.ERROR_ARANGO_DATA_SOURCE_NOT_FOUND.code) {
console.info(`Exception during getViewServersPerShard(): ${e}`);
return;