better error handling

This commit is contained in:
rusefi 2018-01-24 09:19:59 -05:00
parent 56257be9de
commit 63b442c483
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ public final class RomAttributeParser {
else if (input.substring(input.length() - 2).equalsIgnoreCase("mb")) {
return Integer.parseInt(input.substring(0, input.length() - 2)) * 1024 * 1024;
}
throw new NumberFormatException();
throw new NumberFormatException("While parsing [" + input + "]");
}
}

View File

@ -45,7 +45,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @see EngineSnifferPanel
*/
public class Launcher {
public static final int CONSOLE_VERSION = 20180120;
public static final int CONSOLE_VERSION = 20180124;
public static final boolean SHOW_STIMULATOR = false;
private static final String TAB_INDEX = "main_tab";
protected static final String PORT_KEY = "port";