aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/caslog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore/caslog.cpp')
-rw-r--r--src/zenstore/caslog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenstore/caslog.cpp b/src/zenstore/caslog.cpp
index cf3bd76da..2c26e522f 100644
--- a/src/zenstore/caslog.cpp
+++ b/src/zenstore/caslog.cpp
@@ -229,7 +229,8 @@ CasLogFile::Append(const void* DataPointer, uint64_t DataSize)
if (Ec)
{
- throw std::system_error(Ec, fmt::format("Failed to write to log file '{}'", PathFromHandle(m_File.Handle())));
+ std::error_code Dummy;
+ throw std::system_error(Ec, fmt::format("Failed to write to log file '{}'", PathFromHandle(m_File.Handle(), Dummy)));
}
}