pytorch
019048b3 - [PyTorch Edge] Simplify Exception Handling (Take-2) (module.cpp) (#62634)

Commit
3 years ago
[PyTorch Edge] Simplify Exception Handling (Take-2) (module.cpp) (#62634) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62634 Apply the same set of changes as in D27688352 (https://github.com/pytorch/pytorch/commit/d728491fc1ab9e0ae44c0c773299759f3f8287d8) to `module.cpp` as instructed by xcheng16. Basically, this simplifies exception handling and allows propagation of the original message undisturbed to the caller so that we can figure out the lineage of the exception in crash tasks such as t96812652 ghstack-source-id: 134877012 Test Plan: Build/Sandcastle Reviewed By: raziel Differential Revision: D30038867 fbshipit-source-id: 8dfd415c510bcd0ab49814f4eb559ec6fc8f72e5
Author
Parents
Loading