2.3.4 Protect Reports from Script Errors

Because scripts are executed when the report is generated on the server, a script error can cause report generation to fail. To prevent this from happening, you should wrap failure-prone code inside a “try-catch” block, which allows you to trap errors before they affect report execution. See JS.10.4, The 'try-catch' Statement, for more information.

<< 2.3.3 Use log() to View Diagnostic Messages © 1996-2013 InetSoft Technology Corporation (v11.4) 2.4 Script Evaluation >>