show response in case of unsuccessful search
This commit is contained in:
parent
a9cc95f110
commit
dccc2d1c6f
1 changed files with 3 additions and 1 deletions
|
|
@ -75,6 +75,8 @@ function Get-LatestSpotifyVersion {
|
|||
}
|
||||
else {
|
||||
Write-Log "No matching Spotify file found"
|
||||
Write-Log "Response:"
|
||||
Write-Log $html
|
||||
}
|
||||
return $latestFile
|
||||
}
|
||||
|
|
@ -235,4 +237,4 @@ $tempPath = [System.IO.Path]::GetTempPath()
|
|||
$spotifyTempDir = Join-Path $tempPath "Spotify"
|
||||
New-Item -Path $spotifyTempDir -ItemType Directory -Force | Out-Null
|
||||
|
||||
Main
|
||||
Main
|
||||
|
|
|
|||
Loading…
Reference in a new issue