Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@mwolson

Description

@mwolson
Issue body actions

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

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.