Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

User friendly error handling page.

2 years 1 month ago #215244 by alorenc

testing the operation of error-handling pages today. I came across a situation where I made a mistake in the code to simulate this error.
I would like to avoid exposing code fragments that are not understood by the user (in my opinion they should be logged). But I would like to keep the friendly messages returned by CHttpException.

I know that the layout.errors.twig file inside the theme is responsible for this, which I can overwrite by myself, remove lines
<h2> {{aError.title}} </h2>

But this is not a satisfactory solution for me, because I would like to keep the text messages generated by Lime when capturing events, and avoid server messages that are not user friendly.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose