couchbaselabs / couchbaselabs/node-ottoman

issue in error handling: context: undefined

Open
#671 0 comments 0 reactions 1 assignee Claimed by @gsi-alejandro View on GitHub
bug
Dominant language
TypeScript
Stars
295
Forks
99
PR merge metrics
No merged PRs in 30d

Description

It looks like there is a bug in the error handling code (?)

> Aug 15 21:36:11 web: context: undefined

https://couchbase.slack.com/archives/C024H5WNV/p1660744885794469

/var/app/current/node_modules/ottoman/node_modules/couchbase/dist/bindingutilities.js:180
Aug 15 21:36:11 web: return new errs.TimeoutError(codeErr, context);
Aug 15 21:36:11 web: ^
Aug 15 21:36:11 web: TimeoutError: timeout
Aug 15 21:36:11 web: at Object.translateCppError (/var/app/current/node_modules/ottoman/node_modules/couchbase/dist/bindingutilities.js:180:20)
Aug 15 21:36:11 web: at Object. (/var/app/current/node_modules/ottoman/node_modules/couchbase/dist/connection.js:150:54) {
Aug 15 21:36:11 web: cause: LibcouchbaseError: libcouchbase error 201
Aug 15 21:36:11 web: at Object.translateCppError (/var/app/current/node_modules/ottoman/node_modules/couchbase/dist/bindingutilities.js:174:21)
Aug 15 21:36:11 web: at Object. (/var/app/current/node_modules/ottoman/node_modules/couchbase/dist/connection.js:150:54) {
Aug 15 21:36:11 web: code: 201
Aug 15 21:36:11 web: },
Aug 15 21:36:11 web: context: undefined
Aug 15 21:36:11 web: }

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.