mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-06 11:38:08 +00:00
Added #2113 Commandline - allow -onerror abort argument on -importScript
This commit is contained in:
@@ -53,8 +53,10 @@ public class ConsoleAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
|
||||
return result;
|
||||
}
|
||||
Scanner sc = new Scanner(System.in);
|
||||
Logger.getLogger(ConsoleAbortRetryIgnoreHandler.class.getName()).log(Level.SEVERE, "Error occured", thrown);
|
||||
System.out.println("Error occured: " + thrown.getLocalizedMessage());
|
||||
if (thrown != null) {
|
||||
Logger.getLogger(ConsoleAbortRetryIgnoreHandler.class.getName()).log(Level.SEVERE, "Error occured", thrown);
|
||||
System.out.println("Error occured: " + thrown.getLocalizedMessage());
|
||||
}
|
||||
do {
|
||||
System.out.print("Select action: (A)bort, (R)Retry, (I)Ignore:");
|
||||
String n = sc.nextLine();
|
||||
|
||||
Reference in New Issue
Block a user