Exception java.nio.charset.UnsupportedCharsetException:
cp65001 in 2.9.0. Add some bullet-proofing to low-level error reporting.
@@ -34,8 +34,10 @@ final class LowLevelLogUtil {
private static PrintWriter writer = new PrintWriter(System.err, true);
public static void logException(final Throwable exception) {
+ if (exception != null) {
exception.printStackTrace(writer);
}
+ }
public static void logException(final String message, final Throwable exception) {
if (message != null) {
