show exception stack trace on console export

This commit is contained in:
honfika@gmail.com
2015-03-30 20:32:45 +02:00
parent 3ca2877834
commit 206b8f1935

View File

@@ -18,6 +18,8 @@ package com.jpexs.decompiler.flash.console;
import com.jpexs.decompiler.flash.AbortRetryIgnoreHandler;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
@@ -50,6 +52,7 @@ public class ConsoleAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
return result;
}
Scanner sc = new Scanner(System.in);
Logger.getLogger(CommandLineArgumentParser.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:");