Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Add catch argument to fix build #2294

Closed
wants to merge 1 commit into from
Closed

Add catch argument to fix build #2294

wants to merge 1 commit into from

Conversation

mrkev
Copy link
Contributor

@mrkev mrkev commented Jan 2, 2020

Summary

Turns out optional argument for catch statements are not universally supported— some versions of node and some browsers don't allow them. Whoops.

Test Plan

npm run build

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@mrkev is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@mrkev
Copy link
Contributor Author

mrkev commented Jan 2, 2020

Oh, nvm. Fix already in #2291

@mrkev mrkev closed this Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants