Skip to Content
1

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

May 12, 2017 at 07:31 AM

149

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Thomas Jung
May 12, 2017 at 02:49 PM
1

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.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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.

xsengine.png (51.9 kB)
1

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

0

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

0