Commit 58407f17 authored by nanahira's avatar nanahira

log load user info fail

parent bef24b52
......@@ -37,6 +37,7 @@
"recover_fail": "Recover failed.",
"blank_room_name": "Blank room name is unallowed, please fill in something.",
"loading_user_info": "Loading user info...",
"load_user_info_fail": "Failed loading your user info.",
"invalid_password_length": "Password invalid (Invalid Length)",
"invalid_password_payload": "Password invalid (Invalid Payload Length)",
"invalid_password_unauthorized": "Password invalid (Unauthorized)",
......@@ -355,6 +356,7 @@
"recover_fail": "复盘失败。",
"blank_room_name": "房间名不能为空,请在主机密码处填写房间名",
"loading_user_info": "正在读取用户信息...",
"load_user_info_fail": "读取用户信息失败。",
"invalid_password_length": "主机密码不正确 (Invalid Length)",
"invalid_password_payload": "主机密码不正确 (Invalid Payload Length)",
"invalid_password_unauthorized": "主机密码不正确 (Unauthorized)",
......
......@@ -2245,8 +2245,8 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
if check_buffer_indentity(decrypted_buffer)
buffer = decrypted_buffer
else
log.warn("READ USER FAIL", error, body)
done("${create_room_failed}")
log.warn("READ USER FAIL", client.name, error, body)
done("${load_user_info_fail}")
return
# buffer != decrypted_buffer ==> auth failed
......
......@@ -2971,7 +2971,7 @@
buffer = decrypted_buffer;
}
} else {
log.warn("READ USER FAIL", error, body);
log.warn("READ USER FAIL", client.name, error, body);
done("${create_room_failed}");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment