Skip to content

Commit 2cb0b07

Browse files
committed
Strings: improve AvoidUsingEmptyCatchBlockDescription phrasing
1 parent b370c4e commit 2cb0b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/Strings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<value>Avoid Using Cmdlet Aliases or omitting the 'Get-' prefix.</value>
125125
</data>
126126
<data name="AvoidUsingEmptyCatchBlockDescription" xml:space="preserve">
127-
<value>Empty catch blocks are considered poor design decisions because if an error occurs in the try block, this error is simply swallowed and not acted upon. While this does not inherently lead to bad things, it can, and should be avoided if possible. To fix a violation of this rule, use Write-Error or throw statements in catch blocks.</value>
127+
<value>Empty catch blocks are considered poor design decisions because if an error occurs in the try block, this error is simply swallowed and not acted upon. While this does not inherently cause problems, it can, so it should be avoided where possible. To fix a violation of this rule, use Write-Error or throw statements in catch blocks.</value>
128128
</data>
129129
<data name="AvoidUsingEmptyCatchBlockCommonName" xml:space="preserve">
130130
<value>Avoid Using Empty Catch Block</value>

0 commit comments

Comments
 (0)