diff options
author | Saturneric <[email protected]> | 2023-02-11 12:26:08 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-02-11 12:26:08 +0000 |
commit | 1784fefaa16a4ec9d5f2df63726c0b9e8a4e2efd (patch) | |
tree | 5bc92e2a8c76ca1f7d9784e555ef18fac6132a03 /src/core/thread/TaskRunner.cpp | |
parent | fix: open target file once (diff) | |
download | GpgFrontend-1784fefaa16a4ec9d5f2df63726c0b9e8a4e2efd.tar.gz GpgFrontend-1784fefaa16a4ec9d5f2df63726c0b9e8a4e2efd.zip |
feat: reduce logs
Diffstat (limited to 'src/core/thread/TaskRunner.cpp')
-rw-r--r-- | src/core/thread/TaskRunner.cpp | 4 |
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 |