File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/HealthcareApis/HealthcareApis Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 23
23
* Added Error Handling in all cmdlets
24
24
* Fixed few typos
25
25
* Enable Set-AzHealthcareApisService to allow updating tags.
26
- * Fixed bug around inaccurate kind
26
+ * Fixed bug around inaccurate kind.
27
+ * Added Exception Handling around KeyNotFoundException.
27
28
28
29
## Version 0.1.0
29
30
* Added following CRUD operation cmdlets to HealthcareApis service.
Original file line number Diff line number Diff line change @@ -172,11 +172,11 @@ public override void ExecuteCmdlet()
172
172
173
173
if ( ShouldProcess ( this . Name , Resources . createService ) )
174
174
{
175
-
176
- this . EnsureNameAvailabilityOrThrow ( ) ;
177
-
178
175
try
179
176
{
177
+
178
+ this . EnsureNameAvailabilityOrThrow ( ) ;
179
+
180
180
var createAccountResponse = this . HealthcareApisClient . Services . CreateOrUpdate (
181
181
this . ResourceGroupName ,
182
182
this . Name ,
You can’t perform that action at this time.
0 commit comments