def _handle_except(e):
    exc_type, exc_obj, exc_tb = sys.exc_info()
    fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
    log.msg_err("Unhandled {e} at {file}:{line}: '{msg}'"
                .format(e=exc_type.__name__, file=fname,
                        line=exc_tb.tb_lineno,  msg=e))
    log.msg_err(traceback.format_exc())
    log.msg_err("An error has occurred!. "
                "For more details, review the logs.")
    return 1
Test installing a bundle ID as being allowed to run with assistive access
dataset/ETHPy150Open axltxl/m2bk/m2bk/app.py/_handle_except--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/mac_assistive_test.py/AssistiveTestCase.test_install_assistive_error