From f333264a500fa3d04d1fe7f0806284640437b72e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 15 Aug 2007 20:22:30 +0000 Subject: [PATCH] plugin name is now outputted in debug messages --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401346 --- core/DebugReporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/DebugReporter.cpp b/core/DebugReporter.cpp index 42b448ab..29e203d3 100644 --- a/core/DebugReporter.cpp +++ b/core/DebugReporter.cpp @@ -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()",