Skip to content

Commit 1d16fb7

Browse files
committed
Update AnsiUtil.cs
1 parent ba6e52c commit 1d16fb7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/AnsiUtil.cs

+6
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public static bool Enabled
7373
}
7474
catch(Exception e)
7575
{
76+
#if DEBUG
77+
Console.Error.WriteLine(ERROR_MESSAGE + '\n' + e);
78+
#endif
7679
_available = false;
7780
}
7881
return _available;
@@ -120,6 +123,9 @@ public static bool Init()
120123
}
121124
catch (Exception e)
122125
{
126+
#if DEBUG
127+
Console.Error.WriteLine(ERROR_MESSAGE + '\n' + e);
128+
#endif
123129
return false;
124130
}
125131
}

0 commit comments

Comments
 (0)