diff --git a/src/main/java/org/fusesource/jansi/internal/AnsiConsoleSupportHolder.java b/src/main/java/org/fusesource/jansi/internal/AnsiConsoleSupportHolder.java index a8a1c83c..bfb0c613 100644 --- a/src/main/java/org/fusesource/jansi/internal/AnsiConsoleSupportHolder.java +++ b/src/main/java/org/fusesource/jansi/internal/AnsiConsoleSupportHolder.java @@ -128,7 +128,7 @@ public static AnsiConsoleSupport.CLibrary getCLibrary() { public static AnsiConsoleSupport.Kernel32 getKernel32() { if (LibraryHolder.KERNEL32 == null) { if (OSInfo.isWindows()) { - throw new RuntimeException("Unable to get the instance of Kernel32", ERR); + throw new RuntimeException("Unable to get the instance of Kernel32", LibraryHolder.ERR); } else { throw new UnsupportedOperationException("Not Windows"); }