diff options
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
| -rw-r--r-- | src/zenstore/cache/structuredcachestore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp index daa628f77..c4ee6f4d3 100644 --- a/src/zenstore/cache/structuredcachestore.cpp +++ b/src/zenstore/cache/structuredcachestore.cpp @@ -400,7 +400,7 @@ ZenCacheStore::LogWorker() ObjectSize, ToString(Item.Value.Value.GetContentType())) } - catch (std::exception& Ex) + catch (const std::exception& Ex) { ZEN_LOG_INFO(LogCacheActivity, "{} [{}] {}/{}/{} failed: Reason: '{}'", @@ -436,7 +436,7 @@ ZenCacheStore::LogWorker() m_LogEvent.Wait(); m_LogEvent.Reset(); } - catch (std::exception& Ex) + catch (const std::exception& Ex) { ZEN_WARN("Log writer failed: '{}'", Ex.what()); } |