You can customize this page via the below steps

CMS > B2C Management > Content Management > Content Name = CustomErrorContent500

 

500_error.png

Show Message