// The visualization will not be used anymore.
vis.destroy();
synchronizedRedraw();
}
catch(Exception e) {
final Logging logger = Logging.getLogger(task.getFactory().getClass());
if(logger != null && logger.isDebugging()) {
logger.exception("Thumbnail failed.", e);
}
else {
LoggingUtil.warning("Thumbnail for " + task.getFactory().getClass().getName() + " failed - enable debugging to see details.");
}
// TODO: hide the failed image?