Skip to content

issue in error handling: context: undefined #671

@mikereiche

Description

@mikereiche

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: }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions