Skip to content

Commit 4be4244

Browse files
ScriptAnalyzer: Empty catch block is used. Please use Write-Error or throw statements in catch blocks.
1 parent 58ce12a commit 4be4244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/schema.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ function New-RootDocument {
100100
return $rootDocument
101101
}
102102
catch {
103-
103+
throw $_;
104104
}
105105
}

0 commit comments

Comments
 (0)