From d240b4ed4944e8ef0f592f5400786919c1f0e2dc Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 4 Sep 2022 00:04:27 +0200 Subject: [PATCH] fix: Build errors --- lib/libimhex/source/api/task.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libimhex/source/api/task.cpp b/lib/libimhex/source/api/task.cpp index 8b43e59be..d0b854a36 100644 --- a/lib/libimhex/source/api/task.cpp +++ b/lib/libimhex/source/api/task.cpp @@ -21,10 +21,10 @@ namespace hex { this->interruption(); } catch (const std::exception &e) { log::error("Exception in task {}: {}", this->m_unlocalizedName, e.what()); - this->exception(); + this->exception(e.what()); } catch (...) { log::error("Exception in task {}", this->m_unlocalizedName); - this->exception(); + this->exception("Unknown Exception"); } this->finish();