print stack trace when Python script fails to run in core-daemon context
(Boeing r1789)
This commit is contained in:
parent
102dd2aa3b
commit
ed401451d2
1 changed files with 2 additions and 1 deletions
|
@ -893,7 +893,8 @@ class CoreRequestHandler(SocketServer.BaseRequestHandler):
|
|||
msg = coreapi.CoreRegMessage.pack(0, tlvdata)
|
||||
replies.append(msg)
|
||||
except Exception, e:
|
||||
self.warn("error executing '%s': %s" % (ex, e))
|
||||
self.warn("error executing '%s': %s" % \
|
||||
(ex, traceback.format_exc()))
|
||||
return replies
|
||||
|
||||
gui = msg.gettlv(coreapi.CORE_TLV_REG_GUI)
|
||||
|
|
Loading…
Reference in a new issue