Intercept possible 500 errors when site maintenance is in progress and display a friendly page