Wrap exceptions to include the hostname.