From 1c197f969a467bcd5b67f3ab937acb01eba85959 Mon Sep 17 00:00:00 2001 From: kascade Date: Thu, 4 Jan 2007 00:34:50 +0000 Subject: [PATCH] fixed up logger status indicator git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@399 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d --- src/enginuity/logger/EcuLogger.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/enginuity/logger/EcuLogger.java b/src/enginuity/logger/EcuLogger.java index f3f394a4..f9811b27 100644 --- a/src/enginuity/logger/EcuLogger.java +++ b/src/enginuity/logger/EcuLogger.java @@ -558,9 +558,9 @@ public final class EcuLogger extends JFrame implements WindowListener, PropertyC public void reportError(Exception e) { if (e != null) { - String message = e.getMessage(); - if (message != null) { - reportError(message); + String error = e.getMessage(); + if (error != null) { + reportError(error); } else { reportError(e.toString()); }