commit | 3f4cd974ce9874ac556070ccc94bb6e810de17f2 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:42:50 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:42:50 2021 -0500 |
tree | 7f53a47d8f985fc405e09bb3f7f26610434d6c92 | |
parent | a138ebd3c759f95c53d61170c05e69bf31718114 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2196fd0d1fad0901ea083371c8d2d07dfbe4ef78
diff --git a/src/sel_logger.cpp b/src/sel_logger.cpp index 5aa28ae..b7f6a77 100644 --- a/src/sel_logger.cpp +++ b/src/sel_logger.cpp
@@ -148,7 +148,7 @@ { sdbusplus::message::message reloadResponse = dbus->call(rsyslogReload); } - catch (sdbusplus::exception_t& e) + catch (const sdbusplus::exception_t& e) { std::cerr << e.what() << "\n"; }