Commit e852c194 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Improve error message if rpc'l localcall() fails with unexpected

exception.
parent 5c3df35b
......@@ -199,7 +199,9 @@ class SocketIO(object):
except socket.error:
raise
except:
self.debug("localcall:EXCEPTION")
msg = "*** Internal Error: rpc.py:SocketIO.localcall()\n\n"\
" Object: %s \n Method: %s \n Args: %s\n"
print>>sys.__stderr__, msg % (oid, method, args)
traceback.print_exc(file=sys.__stderr__)
return ("EXCEPTION", None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment