Blog of Raivo Laanemets

Stories about web development, freelancing and personal computers.

Q: Unhandled rejection reasons

Q, a popular implementation of promises, sometimes gives the following warning:

[Q] Unhandled rejection reasons (should be empty) ...

Some examples of code that produce the warning are given in the related issue reports:

Current workaround is an API for handling possibly unhandled errors which also contains method to disable tracking:


In branch for Q version 1.x (current stable version is 0.9) there is a commit that rips out the reporting code. This would also remove these misleading warning messages.


No comments have been added so far.

Email is not displayed anywhere.
URLs (max 3) starting with http:// or https:// can be used. Use @Name to mention someone.