rubrikinc / rubrik-sdk-for-powershell

Rubrik Module for PowerShell
https://build.rubrik.com/sdks/powershell/
MIT License
102 stars 86 forks source link

Improve error handling for `Get-RubrikRequest` #738

Open jaapbrasser opened 3 years ago

jaapbrasser commented 3 years ago

Current Behavior:

Mount-RubrikDatabase <...> | Get-RubrikRequest

works as intended

Mount-RubrikDatabase <...> | Get-RubrikRequest

fails after request has been completed as call back uri is no longer accessible as the object is unmounted

Expected Behavior:

Expect both situations to work successfully

Steps to Reproduce:

See current behavior

Failure Logs

image

image