Made log messages more consistent.

This commit is contained in:
Birunthan Mohanathas
2011-11-09 09:27:06 +00:00
parent f8f31a527e
commit 1e9d424c99
16 changed files with 55 additions and 60 deletions

View File

@ -151,7 +151,7 @@ void CMeasurePlugin::ReadConfig(CConfigParser& parser, const WCHAR* section)
{
std::wstring error = L"Plugin: \"" + m_PluginName;
error += L"\" not found";
throw CError(error, __LINE__, __FILE__);
throw CError(error);
}
}
@ -167,8 +167,8 @@ void CMeasurePlugin::ReadConfig(CConfigParser& parser, const WCHAR* section)
FreeLibrary(m_Plugin);
std::wstring error = L"Plugin: \"" + m_PluginName;
error += L"\" doesn't export Update() or GetString()!";
throw CError(error, __LINE__, __FILE__);
error += L"\" doesn't export Update() or GetString()";
throw CError(error);
}
// Initialize the plugin