pass error class through to 500 page
Merge branch '342-error-report'