TORCH_CHECK exceptions are not printed on Android

How do I enable C++ exceptions printing in the Logcat? I only get my to crash with no exception being caught in Kotlin code or print to the logs. I believe the exception is raised from detail::torchCheckFail
So far, I tried to build my version of Pytorch Mobile to add some debug output, and it worked until I had to use torchvision_ops, which I have no idea how to build from the course code.