Default error reporting for Promise libraries.