cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to display error details on web page in case XSJS exception.

In case the xsjs/odata service raised execption/dumped. Currently, we are only be able to check the error details in the trace file. Want to know is it possible to return the error detials to the web page. Then it will much convenient for us to check and fix the issue in development phase.

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate

In XS Classic you can disable the "Friendly" error page and display more details by setting developer_mode = true in the xsengine.ini -> httpserver section.

Hi Thomas,

I tried with the proposed solution. Unfortunately, i am not able to add the parameter developer_mode = true in the xsengine.ini->httpserver section(via add parameter, but when i finished, the parameter still not visible in the section).

My HANA instance is hosted by SCP internal account and run in embedded mode. Please refer to below screenshot for more details.

xsengine.png

Please suggest how should i enable this. Thanks in advance.

Best Regards,

Hank.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

So you add the parameter but then it goes away? Maybe you aren't authorized to make configuration changes.

0 Kudos

Yes, i add the parameter but then it goes away. And i didn't get any error message saying that the authorization check failed.