Before this change fatal errors which were wrapped in a system error (eg a URLError) were not recognised as fatal errors.