Sync eng/common directory with azure-sdk-tools for PR 1202 (#970)
* Add debugging link on resource deployment failures to log output * Update aka link for live test help docs. Use here string and empty throw. Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
de005643ce
commit
941d33fe90
@ -393,6 +393,14 @@ foreach ($templateFile in $templateFiles) {
|
||||
$DebugPreference = "Continue"
|
||||
}
|
||||
New-AzResourceGroupDeployment -Name $BaseName -ResourceGroupName $resourceGroup.ResourceGroupName -TemplateFile $templateFile -TemplateParameterObject $templateFileParameters
|
||||
} catch {
|
||||
Write-Output @"
|
||||
==================================================
|
||||
For help debugging live test provisioning issues,
|
||||
see http://aka.ms/azsdk/engsys/live-test-help,
|
||||
==================================================
|
||||
"@
|
||||
throw
|
||||
} finally {
|
||||
$DebugPreference = $lastDebugPreference
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user