Update afterInstall.ps1

Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
This commit is contained in:
Namhyeon Go 2025-11-21 16:55:27 +09:00 committed by GitHub
parent f2f16d7488
commit 9b6fa4d233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -369,7 +369,11 @@ try {
}
catch {
Write-Host "[FATAL] Extraction/installation phase failed."
Write-Host $_.Exception.Message
if ($_ -is [System.Exception]) {
Write-Host $_.Exception.Message
} else {
Write-Host $_
}
exit 1
}