I would like to propose that the
raptor/templating render function does not wrap any exceptions when being used in the browser. Because the error original error is caught the web browser does not provide quick link to source error location (it only provides link to where wrapper error is thrown). This has made debugging errors in web browser more frustrating than it needs to be.
I did a little test and added raptor/templating/templating_browser.js and override the render function found in raptor/templating/templating.js. The new render function is exactly the same as original except it does not have a try/catch block.
Is it ok if I commit this change?