Ah - I was referring to the `handle_exception` lines. I didn't realize they were being set on the `app`, not on the Api object.