ejs data for error match the view expectation

500.ejs appears to need a data property wrapper for the error object