Nick Lockwood e9c7ebfd9a Ensure bad JS does not crash the app
Summary: public

We have code in place to ensure that a red box is displayed when bad arguments are sent to exported methods, however the methods were still being called with nil values for those arguments, resulting in crashes if the method wasn't set up to handle nil gracefully.

This diff ensures that methods will not be called if any of the argument conversion functions log an error. It also explicitly checks for nil output for arguments that are marked as nonnull.

Reviewed By: javache, tadeuzagallo

Differential Revision: D2580658

fb-gh-sync-id: aad6be758ea19f9b4521f3f9f0407bf672c0a2dd
2015-10-29 05:15:30 -07:00
..
2015-09-18 15:04:28 -07:00
2015-09-18 15:04:28 -07:00
2015-10-21 10:55:25 -07:00
2015-09-02 09:17:20 -08:00
2015-03-26 06:32:01 -07:00
2015-10-21 10:55:25 -07:00
2015-10-21 10:55:25 -07:00
2015-03-26 06:32:01 -07:00
2015-10-12 04:15:27 -07:00
2015-10-12 04:15:27 -07:00