且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

记录WAMP worker追溯错误

更新时间:2023-11-24 14:06:16

AutobahnPython允许您打开WAMP错误消息中的回溯发送功能:

AutobahnPython allows you to turn on sending tracebacks in WAMP error messages:

class MyComponent(ApplicationSession):
   def __init__(self, config = None):
      ApplicationSession.__init__(self, config)
      self.traceback_app = True