Permalink
Browse files

Output debug message if FO processor class can't be instantiated

  • Loading branch information...
ndw committed Feb 9, 2015
1 parent 74f05bb commit 48fdfbd8fd040d0a5151dfbedc4d5df37cd1cff1
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/com/xmlcalabash/library/XSLFormatter.java
@@ -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;
}

0 comments on commit 48fdfbd

Please sign in to comment.