Wrap exceptions to include the hostname

Wrap all exceptions while executing in a ExecuteError so that the host
where the exception occured can be identified.