Closed nsoblath closed 8 years ago
Extended the try block in handle_request to cover most of that function.
The case that failed before now successfully handles the exception and sends an error reply:
2015-12-09T17:38:02[INFO ] dripline.core.endpoint(155) -> got a 0 request: e30= 2015-12-09T17:38:02[ERROR ] dripline.core.endpoint(188) -> got an error: 'unicode' object has no attribute 'items' 2015-12-09T17:38:02[ERROR ] dripline.core.endpoint(189) -> traceback follows: Traceback (most recent call last): File "/Users/nsoblath/My_Documents/Project_8/DataAnalysis/dripline/python/dripline/core/endpoint.py", line 162, in handle_request these_kwargs = {k:v for k,v in msg.payload.items() if k!='values'} AttributeError: 'unicode' object has no attribute 'items' 2015-12-09T17:38:02[INFO ] dripline.core.service(529) -> sending a reply 2015-12-09T17:38:02[INFO ] dripline.core.spimescape(65) -> request processing complete {}
Merged and hotfix branch removed.
Extended the try block in handle_request to cover most of that function.
The case that failed before now successfully handles the exception and sends an error reply: