catch general exceptions because otherwise they get lost in the executor thread
This commit is contained in:
@@ -116,7 +116,7 @@ class PersisterFolderService extends BasePersisterService {
|
||||
try {
|
||||
_load()
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
catch (Exception e) {
|
||||
log.log(Level.WARNING, "couldn't load files", e)
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -62,7 +62,7 @@ class PersisterService extends BasePersisterService {
|
||||
new File(location.absolutePath + ".bak")
|
||||
)
|
||||
listener.publish(new PersisterDoneEvent())
|
||||
} catch (IllegalArgumentException e) {
|
||||
} catch (Exception e) {
|
||||
log.log(Level.WARNING, "couldn't load files",e)
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user