mthmulders / traqqr

Traqqr is a web application that allows to keep track of the energy usage of electric cars
https://mthmulders.github.io/traqqr/
MIT License
0 stars 0 forks source link

Generic error handling #35

Open mthmulders opened 1 month ago

mthmulders commented 1 month ago

In case something unexpected goes wrong in the web application(failing database connectivity, for example) the user sees a white screen with black letters displaying the literal exception message. This should be handled more gracefully.

mthmulders commented 1 month ago

Example view based on Jakarta Server Faces: primefaces/primefaces, primefaces-showcase/src/main/webapp/error.xhtml. Needs to be registered in web.xml: primefaces/primefaces, primefaces-showcase/src/main/webapp/WEB-INF/web.xml