Skip to content

Commit f671bbc

Browse files
authored
Add debug logging for legacy configuration migration details (#463)
1 parent 493d9ba commit f671bbc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

MCPForUnity/Editor/Migrations/LegacyServerSrcMigration.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ private static void RunMigrationIfNeeded()
4444

4545
if (summary.FailureCount > 0 || summary.SuccessCount == 0)
4646
{
47+
if (summary.Messages != null && summary.Messages.Count > 0)
48+
{
49+
McpLog.Debug("Legacy configuration migration details:");
50+
foreach (var message in summary.Messages)
51+
{
52+
McpLog.Debug($" {message}");
53+
}
54+
}
4755
McpLog.Warn($"Legacy configuration migration incomplete ({summary.GetSummaryMessage()}). Will retry next session.");
4856
return;
4957
}

0 commit comments

Comments
 (0)