so if we've switched to promises then we don't need to handle errors here and then we don't need to import PouchDB here (and we generally don't need to be emiting errors on the global pouchdb object anyway its far too vauge