catch exception when running print regression (#58751)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/58751
Test Plan: https://github.com/pytorch/pytorch/issues/58752
Reviewed By: samestep
Differential Revision: D28605667
Pulled By: walterddr
fbshipit-source-id: 3796c924df8e50849dd08ecbeab612ba4f0c569b
Author
Rong Rong (AI Infra)