Commit 47af4d90 authored by Bartek Górny's avatar Bartek Górny

all conversion errors caught and recorded in workflow status

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12532 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent af7c2bd9
......@@ -200,7 +200,7 @@ class OOoDocument(File, ConversionCacheMixin):
return self.returnMessage('OOo file is up do date', 1)
try:
self._convertToBase()
except xmlrpclib.Fault, e:
except Exception, e:
return self.returnMessage('Problem: %s' % (str(e) or 'undefined'), 2)
return self.returnMessage('converted to Open Document Format')
msg_ob = doConvert(force)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment