Skip to content

Commit 3740be3

Browse files
authored
Merge pull request #436 from Zhangqi910/patch-3
Update library.ps1: Use Write-Warning instead of Write-Error for catch block
2 parents 6d1bca1 + c6b7219 commit 3740be3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ReportingServicesTools/Libraries/library.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,4 @@ namespace Microsoft.ReportingServicesTools
130130
"@
131131

132132
Try { Add-Type -TypeDefinition $source -ErrorAction Stop }
133-
catch { Write-Error "Error: $_" }
133+
catch { Write-Warning "$_" }

0 commit comments

Comments
 (0)