1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 23:05:03 -05:00

Better error messages (hopefully)

@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4241
This commit is contained in:
Reinhard Pointner 2016-10-18 02:38:58 +08:00
parent 3a27c58fdd
commit d39675c033

View File

@ -16,7 +16,6 @@ import java.awt.event.ActionEvent;
import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener; import java.beans.PropertyChangeListener;
import java.io.File; import java.io.File;
import java.io.IOException;
import java.net.URI; import java.net.URI;
import java.util.AbstractList; import java.util.AbstractList;
import java.util.ArrayList; import java.util.ArrayList;
@ -834,7 +833,7 @@ class SubtitleAutoMatchDialog extends JDialog {
return destination; return destination;
} catch (Exception e) { } catch (Exception e) {
// display error message in GUI // display error message in GUI
descriptor.error = new IOException("Failed to write file: " + e.getMessage()); descriptor.error = e;
// print to error log // print to error log
debug.log(Level.WARNING, e.getMessage(), e); debug.log(Level.WARNING, e.getMessage(), e);