title: Can't capture collection-insert error after calling mongoc_client_get_server_status()
body: <p>The MongoDB is down, but I can't capture the error description,the "error" argument in mongoc_collection_insert () is empty. This happened, when I use called mongoc_client_get_server_status() in codes.</p>
  
  <p>While, the collectionerror can be shown without calling function mongoc_client_get_server_status().</p>
  
  <p>I am not sure if there is a small bug in MongoDB, or something wrong in my codes.</p>
  
  <pre><code>if (!mongoc_client_get_server_status(client,NULL,NULL,&amp;error)) {
          printf("Connection Error Happens:%s\n",error.message);
          mongoc_client_destroy (client);
          mongoc_cleanup ();
          return 0;
      } 
      collection = mongoc_client_get_collection (client, "gcctest", "facebook");
      if (!mongoc_collection_stats(collection,NULL,reply,&amp;error)) {
          printf("Collection error:%s\n",error.message);
      }   
      if (!mongoc_collection_insert (collection, MONGOC_INSERT_NONE, doc, NULL, &amp;error)) {
          printf("INSET ERROR:%s\n",error.message);
      } else
          printf("Insert successfully\n");
  </code></pre>