Better error message when aborting simulation

This commit is contained in:
Andreas Löscher 2014-11-06 17:23:01 +01:00
parent 6cbe94b7e9
commit 4dcc3ba7fa

View file

@ -959,7 +959,7 @@ public class Cooja extends Observable {
menuItem.setEnabled(false); menuItem.setEnabled(false);
} }
} else if (pluginType == PluginType.MOTE_PLUGIN) { } else if (pluginType == PluginType.MOTE_PLUGIN) {
tooltip += "Mote plugin: "; tooltip += "Mote plugin: ";
} }
tooltip += description + " (" + newPluginClass.getName() + ")"; tooltip += description + " (" + newPluginClass.getName() + ")";
@ -3279,7 +3279,7 @@ public class Cooja extends Observable {
System.exit(1); System.exit(1);
} }
} else { } else {
logger.fatal("No test editor controlling simulation, aborting"); logger.fatal("No plugin controlling simulation, aborting");
System.exit(1); System.exit(1);
} }
} }