socket: Change path for 'not yet authenticated' error messages

(imported from commit 826d3a0ea9084644810a00a14f2f19936e21118c)
This commit is contained in:
Zev Benjamin
2013-11-18 11:35:43 -05:00
parent 319852c60e
commit 5c6a85f99a

View File

@@ -147,7 +147,7 @@ class SocketConnection(sockjs.tornado.SockJSConnection):
if not self.authenticated:
response = {'result': 'error', 'msg': "Not yet authenticated"}
self.session.send_message({'req_id': msg['req_id'], 'response': response})
write_log_line(log_data, path='/socket/auth', method='SOCKET',
write_log_line(log_data, path='/socket/service_request', method='SOCKET',
remote_ip=self.session.conn_info.ip,
email='unknown', client_name='?',
status_code=403, error_content=ujson.dumps(response))