diff options
Diffstat (limited to 'src/zencore/filesystem.cpp')
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index 8a58f136e..7f341818b 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -2695,7 +2695,7 @@ GetDirectoryContent(const std::filesystem::path& RootDir, }, WorkerThreadPool::EMode::DisableBacklog); } - catch (const std::exception Ex) + catch (const std::exception& Ex) { ZEN_ERROR("Failed scheduling work to scan folder '{}'. Reason: '{}'", Path, Ex.what()); PendingWorkCount.CountDown(); |