def run(work, logger):
    try:
        work()
    except ValueError:
        logger.warning("handled")
