catch general exceptions because otherwise they get lost in the executor thread

pull/42/head
Zlatin Balevsky 2020-03-15 01:21:20 +00:00
parent 045859fe04
commit e3f58f8f5a
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {