1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-31 00:22:00 +00:00

7748 handle cancellation of IngestJobInfoPanel cancellation

This commit is contained in:
William Schaefer
2021-06-18 13:11:33 -04:00
parent 871f5bc1c0
commit ca16df609c

View File

@@ -26,6 +26,7 @@ import java.util.Date;
import java.util.EnumSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.logging.Level;
import javax.swing.JOptionPane;
@@ -167,6 +168,8 @@ public final class IngestJobInfoPanel extends javax.swing.JPanel {
}
} catch (InterruptedException | ExecutionException ex) {
logger.log(Level.WARNING, "Error getting results from Ingest Job Info Panel's refresh worker", ex);
} catch (CancellationException ignored){
logger.log(Level.INFO, "The refreshing of the IngestJobInfoPanel was cancelled");
}
}
};