Catch Exceptions to log and re-raise

@wmene what do you think of this?