10000 Fixed error num comparison by goedderz · Pull Request #6940 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Fixed error num comparison #6940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed error num comparison
  • Loading branch information
goedderz committed Oct 17, 2018
commit 174a50c187763bb75fd6daef6ea98d37e721a237
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
0