CodeMod: Use the ExceptionWrapper::with_exception variant that deduces exception types
Summary: CodeMod: Use the `ExceptionWrapper::with_exception` variant that deduces exception types.
Since we must specify the exception type in the lambda arg, and there is a variant of `ExceptionWrapper::with_exception` that deduces the type of the exception from the type of the lambda arg, we don't need to specify the exception type again as a template parameter anymore.
Reviewed By: meyering
Differential Revision:
D2694895
fb-gh-sync-id:
505469f9008973a315e836f356e5db97df4ec921