plugin name is now outputted in debug messages

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401346
This commit is contained in:
David Anderson 2007-08-15 20:22:30 +00:00
parent da0a160371
commit f333264a50

View File

@ -154,7 +154,7 @@ void DebugReport::OnContextExecuteError(IPluginContext *ctx, IContextTrace *erro
CallStackInfo stk_info;
int i = 0;
g_Logger.LogError("[SM] Displaying call stack trace:");
g_Logger.LogError("[SM] Displaying call stack trace for plugin \"%s\":", plname);
while (error->GetTraceInfo(&stk_info))
{
g_Logger.LogError("[SM] [%d] Line %d, %s::%s()",