catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If18cc0293b52ce5f7f8e068688aa17d28ed27d50
diff --git a/sol/sol_context.cpp b/sol/sol_context.cpp
index f0e036c..4428c9c 100644
--- a/sol/sol_context.cpp
+++ b/sol/sol_context.cpp
@@ -281,7 +281,7 @@
}
enableAccumulateTimer(true);
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{
log<level::ERR>(e.what());
}
@@ -305,7 +305,7 @@
enableAccumulateTimer(true);
}
}
- catch (std::exception& e)
+ catch (const std::exception& e)
{
log<level::ERR>(e.what());
}