GoogleCloudPlatform / google-cloud-powershell

PowerShell cmdlets for the Google Cloud Platform
http://googlecloudplatform.github.io/google-cloud-powershell/
Apache License 2.0
135 stars 61 forks source link

Get-GcsObject : ErrorAction preference not taking effect #587

Closed rajaprad closed 6 years ago

rajaprad commented 6 years ago

Module - 1.0.1.2

Command: Get-GcsObject -Bucket pradebbanbucket -ObjectName summa -ErrorAction SilentlyContinue Get-GcsObject : Storage object 'summa' does not exist. At line:1 char:1

Issue -ErrorAction SilentlyContinue does not suppress the error!

ILMTitan commented 6 years ago

It looks like it is throwing a terminating error without a good reason. I will change that.

ILMTitan commented 6 years ago

Fixed in #589.

quoctruong commented 6 years ago

@rajaprad the fix is now available in version 1.0.1.14 of the module