Customize generic error page if debug mode is off