We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbcb27b commit c0b721fCopy full SHA for c0b721f
ConEmuWinForms/GetInfoRoot.cs
@@ -59,7 +59,7 @@ public static async Task<GetInfoRoot> QueryAsync([NotNull] ConEmuSession session
59
throw new ArgumentNullException(nameof(session));
60
61
GuiMacroResult result = await session.BeginGuiMacro("GetInfo").WithParam("Root").ExecuteAsync();
62
- Trace.WriteLine("[ROOT]: " + result.Response);
+ Debug.WriteLine($"[ROOT]: {result.Response}");
63
if(!result.IsSuccessful)
64
throw new InvalidOperationException("The GetInfo-Root call did not succeed.");
65
if(string.IsNullOrWhiteSpace(result.Response)) // Might yield an empty string randomly if not ready yet
@@ -137,4 +137,4 @@ public enum States
137
Exited
138
}
139
140
-}
+}
0 commit comments