Update ms-spotify-check.ps1
- fixed lastResponse output - increase in attempts and delays
This commit is contained in:
parent
b54270ecf8
commit
ead0411e5c
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ function Get-LatestSpotifyVersion {
|
|||
}
|
||||
|
||||
return $latestFile
|
||||
} -MaxAttempts 3 -DelaySeconds 5
|
||||
} -MaxAttempts 6 -DelaySeconds 6
|
||||
|
||||
if ($response) {
|
||||
Write-Log "Found: $($response.FileName)"
|
||||
|
|
@ -111,7 +111,7 @@ function Get-LatestSpotifyVersion {
|
|||
else {
|
||||
Write-Log "Failed to find matching Spotify file after multiple attempts."
|
||||
Write-Log "Response:"
|
||||
Write-Log $lastResponse
|
||||
Write-Log $script:lastResponse
|
||||
return $null
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue