From 7bf9cfc2e806367dcf620e9751f10e7b2280a8ce Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Sat, 23 Feb 2008 11:40:45 +0000 Subject: [PATCH] improved timer error message (amb1474) --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401898 --- core/smn_timers.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/smn_timers.cpp b/core/smn_timers.cpp index ee5214c6d..d0be127e3 100644 --- a/core/smn_timers.cpp +++ b/core/smn_timers.cpp @@ -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()); } }