Permalink
Browse files

Fix error handler to return error to callback

  • Loading branch information...
1 parent b6e778b commit f0b33465aec53eafe32cb49fdb911af25276a66c @mharju mharju committed with nailor Oct 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 trombi/client.py
View
4 trombi/client.py
@@ -830,8 +830,8 @@ def get_page(self, design_doc, viewname, callback,
def _really_callback(response):
if response.error:
# Send the received Database.view error to the callback
- self.error = response.error
- callback(self)
+ callback(response)
+ return
if forward:
offset = response.offset

0 comments on commit f0b3346

Please sign in to comment.