This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the build by adding an argument to catch statement
Summary: Turns out D22722736 (36de6f1) broke the OSS build: apparently `catch` without arguments is a [fairly new feature](https://stackoverflow.com/questions/21624456/can-i-use-a-try-catch-in-javascript-without-specifying-the-catch-argument-identi) that UglifyJS doesn't understand. Whoops. It threw: ``` ERROR: Unexpected token: punc «{», expected: punc «(» ``` Go figure. It seems unlikey that it's possible, but it'd be cool if the TravisCI build status could block lands in www. There's no way to get signal about this until after the fact. /: Reviewed By: creedarky Differential Revision: D22771035 fbshipit-source-id: cd61c6a3ca2aab534c99939a4fb7f29a8863c2ea
- Loading branch information