One of the tasks in Batch import swallows exceptions making it much more
difficult to figure out what went wrong. Another one was being printed
to standard output.
Change-Id: Ife9c61dee1e57db4af11986739b712ca43c1f7c9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/17675
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
*
* Contributors:
* Matthew Khouzam - Initial API and implementation
+ * Marc-Andre Laperle - Log some exceptions
*******************************************************************************/
package org.eclipse.linuxtools.tmf.ui.project.wizards.importtrace;
}
});
} catch (InvocationTargetException e) {
+ Activator.getDefault().logError(Messages.ImportTraceWizardImportProblem, e);
} catch (InterruptedException e) {
}
}
} catch (InterruptedException e) {
return false;
} catch (InvocationTargetException e) {
- System.out.println(e.getTargetException());
+ Activator.getDefault().logError(Messages.ImportTraceWizardImportProblem, e);
return false;
}