ArtisanByteCrafter/KaceSMA

Better error detail for Connect-Server

Gilliosa opened this issue · 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.