update on.error message if error connecting to mongoose server.