Pass exception from previous loop to block.

This is to allow reporting of errors so they can be addressed while
still retrying the block.
Merge pull request #4 from covermymeds/master

Pass exception from previous loop to block.