File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
src/ResourceManager/Compute
Commands.Compute.Test/ScenarioTests Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3308,6 +3308,9 @@ function Test-VirtualMachineWriteAcceleratorUpdate
3308
3308
$st = $vm1 | Update-AzureRmVM - OsDiskWriteAccelerator $true ; } `
3309
3309
" not supported on disks with Write Accelerator enabled" ;
3310
3310
3311
+ $output = $error | Out-String ;
3312
+ Assert-True {$output.Contains (" Target" );}
3313
+
3311
3314
$st = $vm1 | Update-AzureRmVM - OsDiskWriteAccelerator $false ;
3312
3315
}
3313
3316
finally
Original file line number Diff line number Diff line change 19
19
- Additional information about change #1
20
20
-->
21
21
## Current Release
22
+ * Fixed the issue that target is missing in error output.
22
23
* Fixed issue with storage account type for VM with managed disk
23
24
* Fixed issue with default resource groups not being set.
24
25
* Fix AEM Extension cmdlets for other environments, for example Azure China
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ protected static string GetErrorMessageWithRequestIdInfo(Rest.Azure.CloudExcepti
57
57
{
58
58
sb . AppendLine ( ) . AppendFormat ( "ErrorCode: {0}" , errorReturned . Error . Code ) ;
59
59
sb . AppendLine ( ) . AppendFormat ( "ErrorMessage: {0}" , errorReturned . Error . Message ) ;
60
+ sb . AppendLine ( ) . AppendFormat ( "ErrorTarget: {0}" , errorReturned . Error . Target ) ;
60
61
}
61
62
62
63
if ( errorReturned . StartTime != null )
You can’t perform that action at this time.
0 commit comments