We should await ws.send_str()

Change-Id: I263a5170c27147c8e6a77457fed3df24df65ac04
This commit is contained in:
David Shrewsbury 2017-09-26 16:31:55 -04:00
parent 4e22930819
commit 95bb2e813f
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class LogStreamingHandler(object):
except Exception as e:
self.log.exception("Finger client exception:")
msg = "Failure from finger client: %s" % e
ws.send_str(msg.decode('utf8'))
await ws.send_str(msg.decode('utf8'))
return (1000, "No more data")