Log the net if blob doesn't exist when setting output record (#41971)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/41971
Reviewed By: wx1988
Differential Revision: D22490309
fbshipit-source-id: d967ee211b610f5523a307b5266b9fcb0277a21c