catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2afb405177268451e44f0aff8417777a00d292d9
diff --git a/host_reset_recovery.cpp b/host_reset_recovery.cpp
index 4ba1c60..aa26916 100644
--- a/host_reset_recovery.cpp
+++ b/host_reset_recovery.cpp
@@ -103,7 +103,7 @@
throw std::runtime_error(
"Error in invoking D-Bus logging create interface");
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{
error("D-bus call exception: {ERROR}", "ERROR", e);
throw e;