deciding to let error page be controlled by node for dev and production