Title: Ask Reuben 50 - gui.programStoppedMessage Post by: Reuben B. on October 08, 2020, 11:49:29 pm In Ask-Reuben 14, 15, 16 I did a three part series on what you can do within your Genero application to handle errors gracefully and professionally and also to have as much information on hand as possible to allow you to investigate the issue. At the risk of doing a Hitchhikers Guide to the Galaxy and writing “a trilogy in four parts”, there is another section I will add and that relates to the scenario where if you don’t add any specific exception handling to your code, or the error is so bad that it is not safe for the program to execute your exception handling code. In those scenarios what should be the user experience be?
There have been two recent enhancements, one to ensure that a program stopped message box appears where possible rather than a program just silently stopping. The newest is an FGLPROFILE setting gui.programStoppedMessage that allows you to place a generic error message in this dialog box rather than publicising filenames and line numbers. Read more at https://4js.com/ask-reuben/ig-50/ |