Better error message when aborting simulation
This commit is contained in:
parent
6cbe94b7e9
commit
4dcc3ba7fa
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue