def run(work, logger):
    try:
        work()
    except Exception:
        logger.warning("failed")
        raise
