X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.cpp;fp=src%2Fbin%2Flttng-sessiond%2Fust-app.cpp;h=b9091424bb274b6b80a837ee519b7bf0e8dd6689;hb=5b9eda8a30a21a1c9de4572dd2b397c7cf923fa1;hp=bdc7d6d2065b66eba162f58e620166b706bc5668;hpb=64f8e4936e6d54cff9c1f6d642a1b6745b7984d9;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.cpp b/src/bin/lttng-sessiond/ust-app.cpp index bdc7d6d20..b9091424b 100644 --- a/src/bin/lttng-sessiond/ust-app.cpp +++ b/src/bin/lttng-sessiond/ust-app.cpp @@ -6612,7 +6612,7 @@ static int handle_app_register_channel_notification(int sock, goto reply; } } - } catch (std::exception& ex) { + } catch (const std::exception& ex) { ERR("Failed to handle application context: %s", ex.what()); ret_code = -EINVAL; goto reply;