mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
Better error messages (hopefully)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4241
This commit is contained in:
parent
3a27c58fdd
commit
d39675c033
@ -16,7 +16,6 @@ import java.awt.event.ActionEvent;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
@ -834,7 +833,7 @@ class SubtitleAutoMatchDialog extends JDialog {
|
||||
return destination;
|
||||
} catch (Exception e) {
|
||||
// display error message in GUI
|
||||
descriptor.error = new IOException("Failed to write file: " + e.getMessage());
|
||||
descriptor.error = e;
|
||||
|
||||
// print to error log
|
||||
debug.log(Level.WARNING, e.getMessage(), e);
|
||||
|
Loading…
Reference in New Issue
Block a user