Revert "Fix: lttng-destroy: string formating error when default session is unset"
[lttng-tools.git] / src / common / exception.hpp
index 1880978e76997c3ee9df65f556516fd5f16b9581..e43094bb6e3a0baae83466295b4f41abba1d3047 100644 (file)
@@ -20,7 +20,7 @@
        throw lttng::posix_error(msg, errno_code, __FILE__, __func__, __LINE__)
 #define LTTNG_THROW_ERROR(msg) throw lttng::runtime_error(msg, __FILE__, __func__, __LINE__)
 #define LTTNG_THROW_UNSUPPORTED_ERROR(msg) \
-       throw lttng::unsupported_error(msg, __FILE__, __func__, __LINE__)
+       throw lttng::runtime_error(msg, __FILE__, __func__, __LINE__)
 #define LTTNG_THROW_COMMUNICATION_ERROR(msg) \
        throw lttng::communication_error(msg, __FILE__, __func__, __LINE__)
 #define LTTNG_THROW_PROTOCOL_ERROR(msg) \
This page took 0.023038 seconds and 4 git commands to generate.