You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2008/10/10 12:50:08 UTC

svn commit: r703392 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java

Author: vsiveton
Date: Fri Oct 10 03:50:07 2008
New Revision: 703392

URL: http://svn.apache.org/viewvc?rev=703392&view=rev
Log:
o replaced system.exit by logging

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java?rev=703392&r1=703391&r2=703392&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java (original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java Fri Oct 10 03:50:07 2008
@@ -991,8 +991,7 @@
         }
         catch ( Exception e )
         {
-            e.printStackTrace();
-            System.exit( 2 );
+            getLog().error( e.getMessage(), e );
         }
 
         endParagraph();