(doc) Add more doc to SocketServer

This commit is contained in:
Benjamin Sergeant
2019-04-17 20:31:34 -07:00
parent f96babc6a6
commit 10b2d10dbd
9 changed files with 34 additions and 20 deletions

View File

@ -110,10 +110,10 @@ namespace ix
Json::Value exception;
exception["value"] = msg["data"]["message"];
std::string stackTraceFieldName =
std::string stackTraceFieldName =
(msg["id"].asString() == "game_noisytypes_id") ? "traceback" : "stack";
exception["stacktrace"]["frames"] =
exception["stacktrace"]["frames"] =
parseLuaStackTrace(msg["data"][stackTraceFieldName].asString());
payload["exception"].append(exception);