* fixed issue where server has no design docs
* fixed issue with bad error reporting (lost promise)