From 988e84a545408c1266323a1375a97e92e98cdc3e Mon Sep 17 00:00:00 2001 From: Hayodea Hakol Date: Wed, 8 Jan 2025 15:09:18 -0400 Subject: [PATCH] Pretty up exception message --- hcore/senseApis/senseApiManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hcore/senseApis/senseApiManager.cpp b/hcore/senseApis/senseApiManager.cpp index 6585842..f0f2875 100644 --- a/hcore/senseApis/senseApiManager.cpp +++ b/hcore/senseApis/senseApiManager.cpp @@ -82,8 +82,8 @@ SenseApiLib& SenseApiManager::loadSenseApiLib(const std::string& libraryPath) if (!func) { throw std::runtime_error( - std::string(__func__) + ": dlsym(" - HK_SENSE_API_DESC_GETTER_FN_NAME ") failed for library '" + std::string(__func__) + ": dlsym('" + HK_SENSE_API_DESC_GETTER_FN_NAME "') failed for library '" + lib->libraryPath + "'"); } lib->getSenseApiDescriptor = func;