mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-08 06:09:32 +00:00
Merge pull request #662 from rcordovano/msg_notify_to_msg_box
Change presentation of module startup errors to message box
This commit is contained in:
commit
ddb10c3a01
@ -39,6 +39,7 @@ import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil;
|
|||||||
import org.sleuthkit.datamodel.AbstractFile;
|
import org.sleuthkit.datamodel.AbstractFile;
|
||||||
import org.sleuthkit.datamodel.Content;
|
import org.sleuthkit.datamodel.Content;
|
||||||
import java.util.prefs.Preferences;
|
import java.util.prefs.Preferences;
|
||||||
|
import javax.swing.JOptionPane;
|
||||||
import javax.swing.SwingWorker;
|
import javax.swing.SwingWorker;
|
||||||
import org.sleuthkit.autopsy.ingest.IngestScheduler.FileIngestScheduler.FileIngestTask;
|
import org.sleuthkit.autopsy.ingest.IngestScheduler.FileIngestScheduler.FileIngestTask;
|
||||||
|
|
||||||
@ -415,7 +416,7 @@ public class IngestManager {
|
|||||||
notifyMessage.append("the data source and selecting Run Ingest Modules.\n\n");
|
notifyMessage.append("the data source and selecting Run Ingest Modules.\n\n");
|
||||||
notifyMessage.append("Errors\n\n: ");
|
notifyMessage.append("Errors\n\n: ");
|
||||||
notifyMessage.append(errorMessages.toString());
|
notifyMessage.append(errorMessages.toString());
|
||||||
MessageNotifyUtil.Message.error(notifyMessage.toString());
|
JOptionPane.showMessageDialog(null, notifyMessage.toString(), "Ingest Module Start Up Failed", JOptionPane.ERROR_MESSAGE);
|
||||||
|
|
||||||
// Jettison the ingest job and move on to the next one.
|
// Jettison the ingest job and move on to the next one.
|
||||||
synchronized (IngestManager.this) {
|
synchronized (IngestManager.this) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user