From 26d2bcb4a68d68b80b361050860bc2883b62eab8 Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Fri, 21 Aug 2026 22:15:05 +0200 Subject: [PATCH] fix: improve error reporting when fetching files from GitHub (#753) --- Scripts/Get.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/Get.ps1 b/Scripts/Get.ps1 index 9d088d4..b313f31 100644 --- a/Scripts/Get.ps1 +++ b/Scripts/Get.ps1 @@ -134,7 +134,8 @@ try { Invoke-RestMethod $sourceUri -OutFile $tempArchivePath } catch { - Write-Host "Error: Unable to fetch required files from GitHub. Please check your internet connection and try again." -ForegroundColor Red + Write-Host "Unable to fetch required files from GitHub. Please check your internet connection and try again." -ForegroundColor Red + Write-Error -ErrorRecord $_ Write-Output "" Write-Output "Press enter to exit..." Read-Host | Out-Null