Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tornado/ioloop.py", line 605, in _run_callback
ret = callback()
File "/usr/local/lib/python3.7/site-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/tornado/ioloop.py", line 626, in _discard_future_result
future.result()
File "/usr/local/lib/python3.7/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "<string>", line 4, in raise_exc_info
File "/usr/local/lib/python3.7/site-packages/tornado/gen.py", line 1069, in run
yielded = self.gen.send(value)
File "<string>", line 6, in _wrap_awaitable
File "/Users/qard3/Deployments/atxserver2-ios-provider/heartbeat.py", line 77, in _drain_queue
await self._ws.write_message(v)
File "/Users/qard3/Deployments/atxserver2-ios-provider/heartbeat.py", line 37, in write_message
return await super().write_message(message)
TypeError: object NoneType can't be used in 'await' expression