Skip to content

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

Merged
PrzemyslawKlys merged 1 commit intoEvotecIT:masterfrom
xlrod:patch-1
Nov 26, 2019
Merged

Add a new try/catch for Access Denied error#86
PrzemyslawKlys merged 1 commit intoEvotecIT:masterfrom
xlrod:patch-1

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