Show More
@@ -233,8 +233,13 class JSONRPCController(WSGIController): | |||||
233 | return json.dumps(response) |
|
233 | return json.dumps(response) | |
234 | except TypeError, e: |
|
234 | except TypeError, e: | |
235 | log.debug('Error encoding response: %s', e) |
|
235 | log.debug('Error encoding response: %s', e) | |
236 |
return json.dumps( |
|
236 | return json.dumps( | |
237 | error="Error encoding response")) |
|
237 | dict( | |
|
238 | self._req_id, | |||
|
239 | result=None, | |||
|
240 | error="Error encoding response" | |||
|
241 | ) | |||
|
242 | ) | |||
238 |
|
243 | |||
239 | def _find_method(self): |
|
244 | def _find_method(self): | |
240 | """ |
|
245 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now