def wrapException(inException):
    if isinstance(inException, SubscribableWebObjectsException):
        return inException

    guid = str(uuid.uuid4())

    logging.error(
        "Invalid user exception encountered: GUID = %s\n%s\n%s",
        guid,
        inException.message,
        traceback.format_exc()
        )

    return SubscribableWebObjectsException("Unknown exception. Guid = %s" % guid)
When the cluster state includes one container that is not running, the
dataset/ETHPy150Open ufora/ufora/ufora/BackendGateway/SubscribableWebObjects/Exceptions.py/wrapException--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/ContainerStateTestsMixin.test_one_container_not_running