Skip to content

Bugfix in errors being swallowed for Get-PnPUnifiedAuditLog #1631

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

Merged
merged 2 commits into from
Mar 1, 2022

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Currently when the audit log service returns an error, it does not get returned to the output in your console. There is no way unless using Fiddler to know what's going or if the request even succeeded. With this update, if an error occurs, it will be returned as an exception so you can anticipate on it in your scripts and know what went wrong.

@gautamdsheth gautamdsheth merged commit 54c8568 into pnp:dev Mar 1, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants