projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrap calls to fmt::format to catch formatting exceptions
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
stop.cpp
diff --git
a/src/bin/lttng/commands/stop.cpp
b/src/bin/lttng/commands/stop.cpp
index 8b33bd7f4af5e7dc46c2c5b231432c059a0befe2..af42d98db1f291f12d615976b29d3646cd573316 100644
(file)
--- a/
src/bin/lttng/commands/stop.cpp
+++ b/
src/bin/lttng/commands/stop.cpp
@@
-91,7
+91,7
@@
cmd_error_code stop_tracing(const char *session_name)
ret = lttng_stop_tracing_no_wait(session_name);
if (ret < 0) {
ret = lttng_stop_tracing_no_wait(session_name);
if (ret < 0) {
- LTTNG_THROW_CTL(
fmt
::format("Failed to start session `{}`", session_name),
+ LTTNG_THROW_CTL(
lttng
::format("Failed to start session `{}`", session_name),
static_cast<lttng_error_code>(-ret));
}
static_cast<lttng_error_code>(-ret));
}
This page took
0.02616 seconds
and
4
git commands to generate.