Skip to content
This repository was archived by the owner on May 2, 2021. It is now read-only.
This repository was 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

Description

@llonchj

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions