Skip to content

Commit 805fe28

Browse files
author
Ed Munoz
committed
Rethrow exception if the exception doesn't mean we are replacing the NSG for a subnet
1 parent 3b39092 commit 805fe28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ServiceManagement/Network/Commands.Network/NetworkSecurityGroup/Subnet/SetAzureNetworkSecurityGroupToSubnet.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ public override void ExecuteCmdlet()
7272
}
7373
});
7474
}
75+
else
76+
{
77+
throw;
78+
}
7579
}
7680
}
7781
}

0 commit comments

Comments
 (0)