Skip to content

Commit

Permalink
Improve error reporting in elan-init.ps1 (#153)
Browse files Browse the repository at this point in the history
If the download fails the script currently throws away the exception
information and prints a generic error. This changes it to also print
the exception.
  • Loading branch information
Timmmm authored Jan 14, 2025
1 parent a83c305 commit 52adac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elan-init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ try {
}
catch {
Write-Host "Download failed for ${DownloadUrl}"
Write-Host $_
return 1
}

Expand Down

0 comments on commit 52adac8

Please sign in to comment.