Make sure errors get thrown when promises fail

Just a small addition to make debugging easier out of the box.