exception handler now works without a controller