Reuse exception_handler variable throughout