From 76dc1e2bf56904bd18c5e8064a3dd8c67085f3c1 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 12 Mar 2017 14:11:31 -0400 Subject: [PATCH] refactoring --- java_console/logging/src/com/rusefi/FileLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_console/logging/src/com/rusefi/FileLog.java b/java_console/logging/src/com/rusefi/FileLog.java index a5aeaaa136..4bb4476faa 100644 --- a/java_console/logging/src/com/rusefi/FileLog.java +++ b/java_console/logging/src/com/rusefi/FileLog.java @@ -105,7 +105,7 @@ public enum FileLog { System.out.println("rlog " + msg); } - public void log(IllegalStateException exception) { + public void log(Throwable exception) { if (fileLog == null) throw new NullPointerException("fileLog"); OutputStreamWriter os = new OutputStreamWriter(fileLog);