Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add a new try/catch for Access Denied error #86

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Add a new try/catch for Access Denied error #86

merged 1 commit into from
Nov 26, 2019

Conversation

xlrod
Copy link
Contributor

@xlrod xlrod commented Nov 25, 2019

Adding a new try/catch block to handle Access Denied errors for the -FilePath parameter of New-HTML.
If there's an error, proceed to a new try and set the $HTML content, if there's another error, display a warning with the error.

accessdenied

Adding a new try/catch block to handle Access Denied errors for the  `-FilePath` parameter of `New-HTML`.
If there's an error, proceed to a new try and set the `$HTML` content, if there's another error, display a warning with the error.
@PrzemyslawKlys PrzemyslawKlys merged commit 23e2ec3 into EvotecIT:master Nov 26, 2019
@PrzemyslawKlys
Copy link
Member

Looks good. Thank you!

@xlrod xlrod deleted the patch-1 branch November 26, 2019 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants