Improvement in generic error dialogues

Rishiraj Anand
Published in
2 min readNov 25, 2019


We have improved the generic error dialogues in business central. Generic error dialogue is a single error popup that can notify user about all the different errors that business central may produce. Following are the features that are added to new error dialogues :

  1. Users can now see the stack trace of the generated error in the pop itself.
  2. Users can now snooze the dialogues for a time interval.
  3. Logging the errors in server log and storing precisely the perspective/screen/editor where the error took place.
  4. Providing users with an error ID to fetch the error details later.
  5. Some basic UI improvements
Error handling showing the above mentioned features.

Error Logging

When an error is generated, the error is logged into the server logs to be fetched and retrieved at a later time. Following information are stored currently in logs :

  1. User.
  2. Error ID
  3. Location
  4. Exception
Sample server logs for error

Error Snoozing

In case a user doesn’t wish to be notified for a particular period of time, he/she can select the checkbox “Dont show this message again for” and select a time from the dropdown. After clicking a “ok” button, any error message generating for that selected period of time will not be notified with the popup. However, the error messages still gets logged into the server logs.

Many thanks to Guilherme, Paulo, Eder for their support to deliver this awesome functionality.



Rishiraj Anand

Open source contributor and software Engineer, Red Hat