Skip to content
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

Include failure details #83

Open
zbal opened this issue Mar 14, 2018 · 0 comments
Open

Include failure details #83

zbal opened this issue Mar 14, 2018 · 0 comments
Assignees

Comments

@zbal
Copy link
Member

zbal commented Mar 14, 2018

Typically 95% of the failures with couchbase are because bad config:

  • missing bucket
  • undefined config for the host (or loaded async too late) and the couchbase host is defaulted to localhost

On such failure; we often end up doing console.log(settings) in https://github.com/Wiredcraft/loopback-connector-couchbase3/blob/master/lib/couchbase3.js#L74 to figure out what is wrong.

Can we improve the log reporting to tell why it failed - and the param supplied to establish the connection ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants