improved timer error message (amb1474)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401898
This commit is contained in:
Borja Ferrer 2008-02-23 11:40:45 +00:00
parent 887b384f47
commit 7bf9cfc2e8

View File

@ -150,7 +150,10 @@ void TimerNatives::OnTimerEnd(ITimer *pTimer, void *pData)
{
if ((herr=g_HandleSys.FreeHandle(usrhndl, &sec)) != HandleError_None)
{
g_Logger.LogError("Invalid data handle %x (error %d) passed during timer end", usrhndl, herr);
g_Logger.LogError("Invalid data handle %x (error %d) passed during timer end on plugin %s",
usrhndl,
herr,
g_PluginSys.FindPluginByContext(pInfo->pContext->GetContext())->GetFilename());
}
}