@Override public void testEnded() { long now = System.currentTimeMillis(); println("Tidying up ... @ "+new Date(now)+" ("+now+")"); try { generateReport(); } catch (Exception e) { System.err.println("Error generating the report: "+e);//NOSONAR log.error("Error generating the report",e); } checkForRemainingThreads(); println("... end of run"); }
log.error("Error generating the report",e); checkForRemainingThreads(); println("... end of run");