Skip to content

Commit

Permalink
Update AnsiUtil.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed May 7, 2023
1 parent ba6e52c commit 1d16fb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/AnsiUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -120,6 +123,9 @@ public static bool Init()
}
catch (Exception e)
{
#if DEBUG
Console.Error.WriteLine(ERROR_MESSAGE + '\n' + e);
#endif
return false;
}
}
Expand Down

0 comments on commit 1d16fb7

Please sign in to comment.