On Wed, Feb 10, 2010 at 7:37 AM, Erik Huisman <[email protected]> wrote: > Hi, > > I am using couchdbx 10.0 on macosx.. > > When i have a continuous connection with the _changes api AND i am using a > filter > > i.e. : /changesdb/_changes?feed=continuous&filter=push/apns > > If OS Process has raised an error on a totally unrelated map/reduce view the > continuous connection closes when i am posting a document to the changesdb. > > Any id why this happens and how to solve it? >
you need to avoid the error in your map reduce function. the best way to do this id to duck-type your code like if (doc.author && doc.author.name) emit(doc.author.name, null) > Cheers > > > > -- Chris Anderson http://jchrisa.net http://couch.io
