Permalink
Browse files

Return actual exception if an error occurs while parsing the response.

  • Loading branch information...
1 parent ae89309 commit 997b52ffc4fefaba4eebebeb52412cdcfe4a4d1f @topfunky committed Oct 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/CouchDB/CouchDB.j
View
2 Classes/CouchDB/CouchDB.j
@@ -312,7 +312,7 @@
}
catch (anException)
{
- [self connection:aConnection didFailWithError:"JSON response was blank."];
+ [self connection:aConnection didFailWithError:anException];
}
}

0 comments on commit 997b52f

Please sign in to comment.