emit error on mongoose saving error