pouchdb/pouchdb — pull request #2452 by commandoline (2014-07-08 13:57:18+00:00)
Title: Got rid of undefined in error message.

The fix in the 2445 branch wasn't enough yet, with these extra changes it shows the error message it should.