From 1d16fb74c6bf3c67b70efbfcc09fe4b3eae396af Mon Sep 17 00:00:00 2001 From: burdoto Date: Sun, 7 May 2023 08:33:45 +0200 Subject: [PATCH] Update AnsiUtil.cs --- common/AnsiUtil.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/AnsiUtil.cs b/common/AnsiUtil.cs index c3cc37d..8f3e0b2 100644 --- a/common/AnsiUtil.cs +++ b/common/AnsiUtil.cs @@ -73,6 +73,9 @@ public static bool Enabled } catch(Exception e) { +#if DEBUG + Console.Error.WriteLine(ERROR_MESSAGE + '\n' + e); +#endif _available = false; } return _available; @@ -120,6 +123,9 @@ public static bool Init() } catch (Exception e) { +#if DEBUG + Console.Error.WriteLine(ERROR_MESSAGE + '\n' + e); +#endif return false; } }