How to see javascript errors occurring during PDF rendering?



  • While developing a template, I wondered why my plot didn't get displayed in the PDF. When I opened this html template in chrome (outside of jsreport), I could see an error in devtools console:

    Uncaught Error: No DOM element with id 'placeholder' exists on the page.
        at Object.getGraphDiv (plotly-1.54.1.min.js:61)
        at Object.r.newPlot (plotly-1.54.1.min.js:61)
        at temp.html:43
    

    Is Jsreport studio capable of showing runtime errors like that?



  • Thank you for the request.
    We have this already implemented and it will be part of the jsreport 2.8.0 which we should release in the next few days.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.