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 2018/12/03 11:39:45 UTC

[GitHub] prashantdawar edited a comment on issue #124: `then` and `catch` both called

prashantdawar edited a comment on issue #124: `then` and `catch` both called
URL: https://github.com/apache/couchdb-nano/issues/124#issuecomment-443666288
 
 
   @garrensmith now behaviour is different than i expected.
   when query for db.get('_id'):
   
   **Expecting**
   .then() and .catch() run as usual with promises.
   
   **Getting**
   when 'doc' with '_id' not found
   TypeError: Cannot read property 'then' of undefined
   
   Even after this error your travis build is passing. Kindly correct it.
   Although getting expected result in callback mechanism
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services