diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-07-12 11:11:31 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-07-12 11:11:31 +0200 |
| commit | 2b47b7f69a89f220a05e82eae39b0525e4b72041 (patch) | |
| tree | f1b1ab83b246af69fba25531ac6f00638e83e855 /addons/base/static/lib | |
| parent | 8c761e24be272843fd53b4dd0f6ca5296502927d (diff) | |
[imp] added some debugging tools
bzr revid: nicolas.vanhoren@openerp.com-20110712091131-ixr36d9dyilfnoyj
Diffstat (limited to 'addons/base/static/lib')
| -rw-r--r-- | addons/base/static/lib/qweb/qweb2.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/base/static/lib/qweb/qweb2.js b/addons/base/static/lib/qweb/qweb2.js index e617df60183..4f136f3c98a 100644 --- a/addons/base/static/lib/qweb/qweb2.js +++ b/addons/base/static/lib/qweb/qweb2.js @@ -304,6 +304,7 @@ QWeb2.Engine = (function() { " /* START TEMPLATE */ try {\n" + (e.compile()) + "\n" + " /* END OF TEMPLATE */ } catch(error) {\n" + + " if (console && console.exception) console.exception(error);\n" + " context.engine.tools.exception('Runtime Error: ' + error, context);\n" + " }\n" + " return r.join('');"; |
