Examples/Vulnerable_SensitiveErrorExposure_2.ps1

function Show-ErrorUnsafe2 {
    param($value)

    try {
        [int]::Parse($value) | Out-Null
    }
    catch {
        Write-Host $_
    }
}