Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Get-AccessToken.ps1 doesn't return error output #6

Open
sandytsang opened this issue Dec 15, 2023 · 0 comments
Open

Get-AccessToken.ps1 doesn't return error output #6

sandytsang opened this issue Dec 15, 2023 · 0 comments
Assignees

Comments

@sandytsang
Copy link
Contributor

Hi.

Can you add the output of the errors in Get-AccessToken.ps1? Now there is only write-warning in the catch, but there is no -erroraction stop in the write-warning line, or throw $error, so when I use the try and catch in my script for Get-AccessToken, it didn't catch any errors in the script. See screenshot.

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants