[Checkins] SVN: zopyx.convert2/trunk/src/zopyx/convert2/cli.py better error messages in test-mode
Andreas Jung
andreas at andreas-jung.com
Tue Jun 2 14:44:04 EDT 2009
Log message for revision 100602:
better error messages in test-mode
Changed:
U zopyx.convert2/trunk/src/zopyx/convert2/cli.py
-=-
Modified: zopyx.convert2/trunk/src/zopyx/convert2/cli.py
===================================================================
--- zopyx.convert2/trunk/src/zopyx/convert2/cli.py 2009-06-02 18:24:14 UTC (rev 100601)
+++ zopyx.convert2/trunk/src/zopyx/convert2/cli.py 2009-06-02 18:44:04 UTC (rev 100602)
@@ -37,8 +37,8 @@
C = Converter(tmpf + '.html', verbose=True)
try:
output_filename = C(name, output_filename=tmpf + '.' + cls.output_format)
- except:
- print 'FAILED'
+ except Exception, e:
+ print 'FAILED (%s)' % e
print
More information about the Checkins
mailing list