pouchdb/mapreduce — pull request #121 by nolanlawson (2014-04-17 04:59:28+00:00)
Title: (#108) - ensure emit() for user error

Turns out your version of the code was fine, @neojski. We are emitting the error locally when the user has an error in their map or reduce function, which is perfect.