aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/TaskRunner.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-11 12:26:08 +0000
committerSaturneric <[email protected]>2023-02-11 12:26:08 +0000
commit1784fefaa16a4ec9d5f2df63726c0b9e8a4e2efd (patch)
tree5bc92e2a8c76ca1f7d9784e555ef18fac6132a03 /src/core/thread/TaskRunner.cpp
parentfix: open target file once (diff)
downloadGpgFrontend-1784fefaa16a4ec9d5f2df63726c0b9e8a4e2efd.tar.gz
GpgFrontend-1784fefaa16a4ec9d5f2df63726c0b9e8a4e2efd.zip
feat: reduce logs
Diffstat (limited to 'src/core/thread/TaskRunner.cpp')
-rw-r--r--src/core/thread/TaskRunner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/thread/TaskRunner.cpp b/src/core/thread/TaskRunner.cpp
index c4296852..75fc5d88 100644
--- a/src/core/thread/TaskRunner.cpp
+++ b/src/core/thread/TaskRunner.cpp
@@ -84,11 +84,11 @@ void GpgFrontend::Thread::TaskRunner::PostScheduleTask(Task* task,
if (task != nullptr) {
// Run the task
- SPDLOG_TRACE("task runner: running task: {}", task->GetUUID());
+ SPDLOG_TRACE("task runner: running task {}", task->GetUUID());
try {
task->run();
} catch (const std::exception& e) {
- SPDLOG_ERROR("task runner: exception in task: {} , exception: {}",
+ SPDLOG_ERROR("task runner: exception in task {}, exception: {}",
task->GetUUID(), e.what());
// destroy the task, remove the task from the pending tasks