mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
socket: Fix keyword argument name for error logging
(imported from commit e61eace1aa48fe17d5d2338f7990e32d3404d390)
This commit is contained in:
@@ -141,7 +141,7 @@ class SocketConnection(sockjs.tornado.SockJSConnection):
|
||||
write_log_line(log_data, path='/socket/auth', method='SOCKET',
|
||||
remote_ip=self.session.conn_info.ip,
|
||||
email='unknown', client_name='?',
|
||||
status_code=403, error_contents=ujson.dumps(response))
|
||||
status_code=403, error_content=ujson.dumps(response))
|
||||
return
|
||||
else:
|
||||
if not self.authenticated:
|
||||
@@ -150,7 +150,7 @@ class SocketConnection(sockjs.tornado.SockJSConnection):
|
||||
write_log_line(log_data, path='/socket/auth', method='SOCKET',
|
||||
remote_ip=self.session.conn_info.ip,
|
||||
email='unknown', client_name='?',
|
||||
status_code=403, error_contents=ujson.dumps(response))
|
||||
status_code=403, error_content=ujson.dumps(response))
|
||||
return
|
||||
|
||||
redis_key = req_redis_key(self.client_id, msg['req_id'])
|
||||
|
||||
Reference in New Issue
Block a user