Skip to content

Commit

Permalink
Output debug message if FO processor class can't be instantiated
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Feb 9, 2015
1 parent 74f05bb commit 48fdfbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/xmlcalabash/library/XSLFormatter.java
Expand Up @@ -78,9 +78,11 @@ public void run() throws SaxonApiException {
provider.initialize(runtime,step,options);
break;
} catch (NoClassDefFoundError ncdfe) {
logger.debug("No FO processor class available: " + className);
pexcept = ncdfe;
provider = null;
} catch (Exception e) {
logger.debug("Failed to instantiate FO processor class: " + className);
pexcept = e;
provider = null;
}
Expand Down

0 comments on commit 48fdfbd

Please sign in to comment.