Add Url and FallbackUrl in exception on Windows

This commit is contained in:
Shivam Mathur 2023-04-02 23:42:19 +05:30
parent e513384a65
commit 3e2462a699
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -155,7 +155,7 @@ Function Get-File {
Invoke-WebRequest -Uri $FallbackUrl -TimeoutSec $TimeoutSec Invoke-WebRequest -Uri $FallbackUrl -TimeoutSec $TimeoutSec
} }
} catch { } catch {
throw "Failed to download the build" throw "Failed to download the assets from $Url and $FallbackUrl"
} }
} }
} }