1
 Follower
8
 Likes

Separate Exception Messages from Error Log messages

On our radar

The discussion around the "string truncated" error brought this up... we need to be able to throw an exception in a manner where there are two messages: one that gets logged in Error Log, and one that goes onto the stack as Exception Message. Reason is that sometimes we need to throw something where the proper message for debugging purposes may contain sensitive or in-depth technical information (like database details) that should only go to the error log and never go to the screen, but we want a friendly message to go to the screen.


J.Ja

Created on 9 Jun 2017
Comments (4)
21 Jun 2017

Seconded!

Merged this idea with 'Security - SQL statements - Feedback message' (created on 2018-01-17 10:30:51 by Miguel Sousa)

Outsystems should prevent sending any kind of SQL statements / scripts to the browser as a feedback when an error occurs.



Merged from 'Security - SQL statements - Feedback message' (idea created on 2018-01-17 10:30:51 by Miguel Sousa), on 2018-01-18 03:46:04 by Justin James

The fix for this is to have a private & public message in the Exception. I know there is a similar idea out there, let me try to merge... I suspect I posted it a few years ago...

J.Ja



Merged from 'Security - SQL statements - Feedback message' (idea created on 2018-01-17 10:30:51 by Miguel Sousa), on 2018-01-18 03:46:04 by Justin James
views
89
Followers
1