| Index: src/plugin/PluginClass.cpp |
| =================================================================== |
| --- a/src/plugin/PluginClass.cpp |
| +++ b/src/plugin/PluginClass.cpp |
| @@ -294,9 +294,8 @@ |
| } |
| catch (const std::system_error& ex) |
| { |
| - auto errDescription = std::string("Class::Thread - Failed to create StartInitObject thread, ") + |
| - ex.code().message() + ex.what(); |
| - DEBUG_ERROR_LOG(ex.code().value(), PLUGIN_ERROR_THREAD, PLUGIN_ERROR_MAIN_THREAD_CREATE_PROCESS, errDescription.c_str()); |
| + DEBUG_SYSTEM_EXCEPTION(ex, PLUGIN_ERROR_THREAD, PLUGIN_ERROR_MAIN_THREAD_CREATE_PROCESS, |
| + "Class::Thread - Failed to create StartInitObject thread"); |
| } |
| } |
| else |
| @@ -339,9 +338,9 @@ |
| } |
| } |
| } |
| - catch (std::runtime_error e) |
| + catch (const std::runtime_error& ex) |
| { |
| - DEBUG_ERROR(e.what()); |
| + DEBUG_EXCEPTION(ex); |
| Unadvice(); |
| } |
| } |
| @@ -575,17 +574,20 @@ |
| { |
| m_tab->OnNavigate(url); |
| - DEBUG_GENERAL(L"================================================================================\nBegin main navigation url:" + urlLegacy + "\n================================================================================") |
| + DEBUG_GENERAL( |
| + L"================================================================================\n" |
| + L"Begin main navigation url:" + url + L"\n" |
| + L"================================================================================") |
| #ifdef ENABLE_DEBUG_RESULT |
| - CPluginDebug::DebugResultDomain(urlLegacy); |
| + CPluginDebug::DebugResultDomain(url); |
| #endif |
| UpdateStatusBar(); |
| } |
| else |
| { |
| - DEBUG_NAVI(L"Navi::Begin navigation url:" + urlLegacy) |
| + DEBUG_NAVI(L"Navi::Begin navigation url:" + url) |
| m_tab->CacheFrame(url); |
| } |
| } |
| @@ -1792,7 +1794,7 @@ |
| s_hIcons[type] = ::LoadIcon(_Module.m_hInst, MAKEINTRESOURCE(s_hIconTypes[type])); |
| if (!s_hIcons[type]) |
| { |
| - DEBUG_ERROR_LOG(::GetLastError(), PLUGIN_ERROR_UI, PLUGIN_ERROR_UI_LOAD_ICON, "Class::GetIcon - LoadIcon") |
| + DEBUG_ERROR_LOG(::GetLastError(), PLUGIN_ERROR_UI, PLUGIN_ERROR_UI_LOAD_ICON, "Class::GetIcon - LoadIcon"); |
| } |
| } |