glynnbird commented on PR #358:
URL: https://github.com/apache/couchdb-nano/pull/358#issuecomment-3291162612

   This fix seems like a reasonable simple iteration to me.
   
   I tried it with
   
   ```js
   import Nano from './lib/nano.js'
   const nano = Nano('http://localhost:9999')
   
   async function main() {
     await nano.db.list()
   }
   main()
   ```
   
   Works fine (in that you get an error with a sensible error message) in Node, 
but a reproducer of your problem when using bun. It seems to come down do 
different formats of responses in Node & Bun.
   
   Your `??` trick works just fine and I'm happy to merge it in. 


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to