fixed error propagation when promise-failure-handlers throw exceptions (fixes error state)