Never show such an error message to a customer

Developers are inclined to issue error messages in such a way that they can draw as many conclusions as possible from them. This might be very helpful, especially during development. The big BUT: with the release of the software, such output is very likely to be forgotten. The result are then cryptic error messages, which are displayed to the end customer:

Error in FOOBARSOMETHING.GetSomeParamsBySomething: [internal information];
Error while requesting BAZ from SOMETHING ("SOMETHING.doSomeMagic", [return value]);
Error while requesting BAZ from SOMETHING ("SOMETHING.doSomeMagic", [return value]);

Never ever do something like that! Debug-Messages must be logged internally, never ever be displayed!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.