Instrument missing tag exception.

bzr revid: p_christ@hol.gr-20081124151809-ydhawyy1map7wd7y
This commit is contained in:
P. Christeas 2008-11-24 17:18:09 +02:00
parent b1b2347390
commit 7f3ee0107e
1 changed files with 1 additions and 1 deletions

View File

@ -958,7 +958,7 @@ class orm_template(object):
if attr != 'position'
])
tag = "<%s%s>" % (node2.localName, attrs)
raise AttributeError(_("Couldn't find tag '%s' in parent view !") % tag)
raise AttributeError(_("Couldn't find tag '%s' in parent view !\n%s") % (tag,src))
return doc_src.toxml(encoding="utf-8").replace('\t', '')
result = {'type': view_type, 'model': self._name}