8000 Fixed error num comparison (#6940) · mnemosdev/arangodb@3062d96 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3062d96

Browse files
goedderzjsteemann
authored andcommitted
Fixed error num comparison (arangodb#6940)
1 parent 55a45f1 commit 3062d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/js/server/resilience/moving-shards-with-arangosearch-view-cluster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ function MovingShardsWithViewSuite (options) {
489489
// server.
490490

491491
if (e instanceof arangodb.ArangoError
492-
&& e.errorNum === internal.ERROR_ARANGO_DATA_SOURCE_NOT_FOUND) {
492+
&& e.errorNum === internal.ERROR_ARANGO_DATA_SOURCE_NOT_FOUND.code) {
493493
console.info(`Exception during getViewServersPerShard(): ${e}`);
494494

495495
return;

0 commit comments

Comments
 (0)
0