Skip to content
Browse files

[cloudant] THIS SUCKS BALLS CLOUDANT

  • Loading branch information...
1 parent b2ca628 commit 760f2a77c2fc07475fc05a384c2ac257dd58b4a6 @dscape committed Jan 11, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 nano.js
View
2 nano.js
@@ -308,6 +308,8 @@ module.exports = exports = nano = function database_module(cfg) {
if (!parsed.message && (parsed.reason || parsed.error)) {
parsed.message = (parsed.reason || parsed.error);
}
+ // fix cloudant issues where they give an erlang stacktrace as js
+ delete parsed.stack;
errs.handle(errs.merge(errs.create(parsed),
{ "scope" : "couch"
, "status_code" : status_code

0 comments on commit 760f2a7

Please sign in to comment.
Something went wrong with that request. Please try again.