mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-27 18:11:20 +00:00
Update afterInstall.ps1
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
This commit is contained in:
parent
f2f16d7488
commit
9b6fa4d233
|
|
@ -369,7 +369,11 @@ try {
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host "[FATAL] Extraction/installation phase failed."
|
Write-Host "[FATAL] Extraction/installation phase failed."
|
||||||
Write-Host $_.Exception.Message
|
if ($_ -is [System.Exception]) {
|
||||||
|
Write-Host $_.Exception.Message
|
||||||
|
} else {
|
||||||
|
Write-Host $_
|
||||||
|
}
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user