Add error check for Nginx#errlogger