Permalink
Browse files

Improves fault tolerance

  • Loading branch information...
joeha480 committed Jan 4, 2018
1 parent ba5a04b commit 208816551adbb678e0935e52491b7ea982efb9d8
Showing with 5 additions and 2 deletions.
  1. +1 −1 build.gradle
  2. +4 −1 src/org/daisy/dotify/cli/FindPEF.java
View
@@ -83,7 +83,7 @@ dependencies {
compile 'org.daisy.braille:braille-utils.api:4.2.0'
compile 'org.daisy.streamline:streamline-cli:1.0.0'
compile ('org.daisy.braille:braille-utils.pef-tools:3.0.0') {
compile ('org.daisy.braille:braille-utils.pef-tools:3.0.1') {
exclude module: 'Saxon-HE'
}
compile 'org.daisy.dotify:dotify.api:4.0.0'
@@ -98,7 +98,10 @@ public static void main(String[] args) throws FileNotFoundException {
PEFBookLoader loader = new PEFBookLoader();
for (File f : PEFLibrary.listFiles(dir, recursive)) {
try {
search.add(loader.load(f));
PEFBook p = loader.load(f);
if (p!=null) {
search.add(p);
}
} catch (XPathExpressionException | ParserConfigurationException | SAXException | IOException e) {
//e.printStackTrace();
}

0 comments on commit 2088165

Please sign in to comment.