Simplify the code by catching the whole function
Simplify the code by catching the whole function

Reviewed By: thedavekwon

Differential Revision: D35885127

fbshipit-source-id: 5227ee56a8306fa0dd2b3d001ab887037ff3be28

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift