routing: fix `handleException` to skip content negotiation for exception handling routes