Skip to content

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

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()

Activity

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

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