Open TemitopeAyokuHO opened 7 months ago
HOFF-594- HTTP Error 500 (Internal Server Error) Error Page
To display an error page to users, which follows the Government Design Standard (GDS)
Added few line to capture if status code is 500 (UNKNOWN or INTERNAL_SERVER_ERROR) in the Middleware/errors.js file
Added text in errors.json file which will be used to render error messages
Tested locally
What
HOFF-594- HTTP Error 500 (Internal Server Error) Error Page
Why
To display an error page to users, which follows the Government Design Standard (GDS)
How
Added few line to capture if status code is 500 (UNKNOWN or INTERNAL_SERVER_ERROR) in the Middleware/errors.js file
Added text in errors.json file which will be used to render error messages
Testing
Tested locally