should reject the promise and fall the error if a block throws an exception