Skip to content

Commit 1729aff

Browse files
authored
Update InvokeHelper.cs
1 parent 4cb216a commit 1729aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WeihanLi.Common/Helpers/InvokeHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static class InvokeHelper
1010
{
1111
static InvokeHelper()
1212
{
13-
OnInvokeException = ex => Debug.WriteLine(ex);
13+
OnInvokeException = ex => ConsoleHelper.WriteLineWithColor(ex.ToString(), ConsoleColor.DarkRed);
1414

1515
#region Exit event register
1616

0 commit comments

Comments
 (0)