KaceSMA icon indicating copy to clipboard operation
KaceSMA copied to clipboard

Better error detail for Connect-Server

Open Gilliosa opened this issue 5 years ago • 0 comments

The canned error message from Connect-Server does not give any information that could be useful for troubleshooting. If I was put in the wrong org, I should receive: (500) Internal Server Error

If I mess up my credentials, I should receive: (401) Unauthorized

Please consider changing the error message to give the server response or putting it in Write-Verbose. This will help users better troubleshoot the problem.

Gilliosa avatar Jan 11 '20 04:01 Gilliosa