Print xml with exception
This commit is contained in:
1 parent
8795318f91
commit
5fa070d030
1 file changed
+1
-1
@@ -72,7 +72,7 @@ class View(OSV):
|
||||
ValidatingReader.parseString(xml)
|
||||
except Exception, exception:
|
||||
logger.notify_channel('ir', LOG_ERROR,
|
||||
'Invalid xml view: %s' % (str(exception)))
|
||||
'Invalid xml view: %s' % (str(exception) + '\n' + xml))
|
||||
return False
|
||||
except:
|
||||
logger.notify_channel('ir', LOG_WARNING,
|
||||
|
||||
Reference in new issue
Block a user