Skip to content

variable is not always an object #1

@iknowfoobar

Description

@iknowfoobar

return respond(err.toString(), 500)

err is not always an object, so the catch here results in a runtime error. However if we have got this far something has gone very wrong anyway!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions