aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/RenderPagesModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/area/RenderPagesModel.java')
-rw-r--r--src/java/org/apache/fop/area/RenderPagesModel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/RenderPagesModel.java b/src/java/org/apache/fop/area/RenderPagesModel.java
index a3c6eda27..8757a1c51 100644
--- a/src/java/org/apache/fop/area/RenderPagesModel.java
+++ b/src/java/org/apache/fop/area/RenderPagesModel.java
@@ -115,7 +115,7 @@ public class RenderPagesModel extends AreaTreeModel {
renderer.renderPage(page);
} catch (Exception e) {
// use error handler to handle this FOP or IO Exception
- e.printStackTrace();
+ log.error(e);
}
page.clear();
} else {
@@ -159,7 +159,7 @@ public class RenderPagesModel extends AreaTreeModel {
}
} catch (Exception e) {
// use error handler to handle this FOP or IO Exception
- e.printStackTrace();
+ log.error(e);
}
p.clear();
iter.remove();