Is there a Skip Bad Data callback?

Keep running into bad data exception during training. Eventually found a bug in a 3rd party object detection model wrongly asserting boxes must be of certain shape.

Which prompted me to think if there is a FastAI Callback to skip bad data i.e. if exception was raised?

This would be a helpful hack that would otherwise kill a multi-hour epoch run.