Fix for web host not supporting nested excptions.