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


   It seems like I'm facing a variant of this issue.
   
   The following code works perfectly fine with v8.2.3:
   
   ```
     public ensureThatWorkspaceExists(workspaceId: string): Observable<boolean> 
{
       this.logger.debug(`Ensuring that the following workspace exists: 
${workspaceId}`);
       return defer(() => from(this.databaseConnection.db.list())).pipe(  
<----------- seems to crash here
         concatMap((databasesList) => {
               // never gets here
          ...
        }),
       );
     }
   ```
   
   In the closest `catchError`, I get the following error object:
   
   ```
   err = TypeError: Converting circular structure to JSON   --> starting at 
object with constructor 'Socket'    |    property 'parser' -> object with 
constructor 'HTTPParser' ....
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to