Don't crash when execute_method fails (#3104)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/3104 Currently, we hard crash the process when execute_method failed, and it's not catchable. Instead, we should return null to Java, so they can handle. Reviewed By: shoumikhin, cccclai Differential Revision: D56260831 fbshipit-source-id: 281aa53985e021e803444ea5ee1c89a1e4b66e6b
H
Hansong Zhang committed
9c2b41b9ae44621db8885c2d15c2f0d201e362de
Parent: cca9f65
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 4/17/2024, 9:07:46 PM