#define _LGPL_SOURCE
#include "../command.hpp"
-#include "../exception.hpp"
#include "../utils.hpp"
#include <common/exception.hpp>
lttng_strerror(-ctl_exception.code()));
listing_failed = true;
return {};
- } catch (const lttng::cli::no_default_session_error& cli_exception) {
- /*
- * The retrieval of the default session name already logs
- * an error when it fails. There is no value in printing
- * anything about this exception.
- */
- listing_failed = true;
- return {};
}
}();