Skip to content

README: Recommend using Promise.try() in Error Handling section #11

@mwolson

Description

@mwolson

One of the emerging best practices around Bluebird Promises is to use promise.try() per the blog post here: http://cryto.net/~joepie91/blog/2016/05/11/what-is-promise-try-and-why-does-it-matter/

Instead of instructing people (somewhat briefly and confusingly) to use .catch() in the "Error Handling" section of README.md, it would be better to include an example along the lines of those in the above blog post which uses Promise.try()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions