[FIX] Error reporting : library error corrected

lp bug: https://launchpad.net/bugs/409709 fixed

bzr revid: jvo@tinyerp.com-20090806083719-ah26qhi3ax9e7koa
This commit is contained in:
Jay (Open ERP) 2009-08-06 14:07:19 +05:30
parent d416be1bf5
commit 11725f1c90
1 changed files with 1 additions and 1 deletions

View File

@ -876,7 +876,7 @@ def convert_xml_import(cr, module, xmlfile, idref=None, mode='init', noupdate=Fa
except Exception, e:
logger = netsvc.Logger()
logger.notifyChannel('init', netsvc.LOG_ERROR, 'The XML file does not fit the required schema !')
logger.notifyChannel('init', netsvc.LOG_ERROR, tools.ustr(relaxng.error_log.last_error))
logger.notifyChannel('init', netsvc.LOG_ERROR, misc.ustr(relaxng.error_log.last_error))
raise
if idref is None: