You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/02/18 08:28:11 UTC

[GitHub] [couchdb-nano] Dryymoon commented on issue #252: scrubLog functionality can fail on JSON circular reference

Dryymoon commented on issue #252:
URL: https://github.com/apache/couchdb-nano/issues/252#issuecomment-781154445


   How to add custom agent:
   ```
   const agent = new http.Agent();
   agent.toJSON = () => null;
   const couchdb = require('nano')({
     url: 'http://admin:admin@localhost:5984',
     requestDefaults: {
       agent
     }
   });
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org