Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.

getDb method should return error or undefined if name argument is not defined #48

Open
llonchj opened this issue Jul 12, 2016 · 0 comments

Comments

@llonchj
Copy link

llonchj commented Jul 12, 2016

Steps to reproduce: inside a handler, call request.getDb('i-am-a-invalid-name') and returns, in my case the last of 2 database connections.

Will be preferable throwing a KeyError exception or return a undefined value?

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

No branches or pull requests

1 participant