Skip to content

Commit

Permalink
tiny grammar change (#1457)
Browse files Browse the repository at this point in the history
Thanks
  • Loading branch information
marktinsley authored and benjamingr committed Sep 20, 2017
1 parent 2c9f7a4 commit a61aa1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/api/promise.onpossiblyunhandledrejection.md
Expand Up @@ -14,7 +14,7 @@ Promise.onPossiblyUnhandledRejection(function(any error, Promise promise) handle
```


*Note: this hook is specific to the bluebird instance its called on, application developers should use [global rejection events](/docs/api/error-management-configuration.html#global-rejection-events)*
*Note: this hook is specific to the bluebird instance it's called on, application developers should use [global rejection events](/docs/api/error-management-configuration.html#global-rejection-events)*

Add `handler` as the handler to call when there is a possibly unhandled rejection. The default handler logs the error stack to stderr or `console.error` in browsers.

Expand All @@ -39,4 +39,4 @@ Passing no value or a non-function will have the effect of removing any kind of
(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

0 comments on commit a61aa1c

Please sign in to comment.