diff --git a/plugins/EnergyScan.java b/plugins/EnergyScan.java index 08a0320..14aae14 100644 --- a/plugins/EnergyScan.java +++ b/plugins/EnergyScan.java @@ -27,6 +27,7 @@ import java.nio.file.Paths; import java.util.ArrayList; import java.util.HashMap; import java.util.Properties; +import java.util.logging.Level; import javax.swing.DefaultComboBoxModel; import javax.swing.JLabel; import javax.swing.JPanel; @@ -115,7 +116,8 @@ public class EnergyScan extends Panel { } break; } - } catch (Exception ex) { + } catch (Exception ex) { + getLogger().log(Level.WARNING, null, ex); SwingUtils.showException(panel, ex); } } @@ -243,7 +245,7 @@ public class EnergyScan extends Panel { String expandPath(String path) { long time = System.currentTimeMillis(); String mode; - if (comboMode.getSelectedIndex() == 0) { + if (comboMode.getSelectedIndex() == 0) {_ mode = "plus"; } else if (comboMode.getSelectedIndex() == 1) { mode = "minus"; @@ -815,7 +817,7 @@ public class EnergyScan extends Panel { } run(); } catch (Exception ex) { - SwingUtils.showException(this, ex); + ex.printStackTrace(); SwingUtils.showException(this, ex); } }//GEN-LAST:event_buttonExecuteActionPerformed