title: New-AzResourceGroupDeployment doesn't throw with verbose
body: <p>ErrorActionPreference is set to <code>Stop</code> prior to running both of these.</p>
  <p>Terminating:</p>
  <pre><code>try {
      $deploy = New-AzResourceGroupDeployment `
          -ResourceGroupName $resourceGroupName `
          @templateParameters
  } catch { &quot;printed&quot; }
  </code></pre>
  <p>Non terminating:</p>
  <pre><code>try {
      $deploy = New-AzResourceGroupDeployment `
          -ResourceGroupName $resourceGroupName `
          @templateParameters `
          -Verbose # added verbose switch
  } catch { &quot;not printed&quot; }
  </code></pre>
  <p>EDIT: how to have verbose logging and still preserve the terminating part.</p>