Commit f19d208a authored by javi's avatar javi
Browse files

Add loggin in thread exception execution to show messages

parent 7b5b4ab9
Pipeline #10241 passed with stage
in 2 minutes and 19 seconds
......@@ -318,8 +318,15 @@ public class App {
for(Future future:futuresList) {
try {
taskResult = future.get();
}catch (InterruptedException e) {}
catch (ExecutionException e) {}
}catch (InterruptedException e) {
System.out.println("App :: main :: ERROR ");
e.printStackTrace();
System.exit(1);
}catch (ExecutionException e) {
System.out.println("App :: main :: ERROR ");
e.printStackTrace();
System.exit(1);
}
}
Double secs = new Double((new java.util.Date().getTime() - begTest)*0.001);
System.out.println("Tiempo de ejecucion " + secs + " segundos");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment