Change promise-handling to show engine errors.