Add temporary debug code for bodyless exception