Skip to content

Conversation

@jackmcintosh
Copy link
Contributor

No description provided.

@jackmcintosh jackmcintosh added the enhancement New feature or request label Apr 17, 2020
@jackmcintosh jackmcintosh requested a review from jjv360 April 17, 2020 10:30
@jackmcintosh jackmcintosh self-assigned this Apr 17, 2020

} catch (err) {

throw new Error(err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This try/catch block does nothing at all, it's safe to remove it... In fact it's better to remove it rather than wrapping an Error inside another Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants