Fixes Exception thrown from error handling code masking the original problem