mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
add logs
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@63316 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
@ -51,7 +51,7 @@ exports.install = function (server, callbackFunction) {
|
||||
case 'spellCheck': spellCheck(conn, data);break;
|
||||
}
|
||||
} catch (e) {
|
||||
logger.error("error receiving response:" + e);
|
||||
logger.error("error receiving response: %s", e);
|
||||
}
|
||||
});
|
||||
conn.on('error', function () {
|
||||
@ -75,6 +75,7 @@ exports.install = function (server, callbackFunction) {
|
||||
}
|
||||
}
|
||||
function spellSuggest(index, word, lang) {
|
||||
logger.info('word = %s, lang = %s', word, lang);
|
||||
var oDictionary = arrDictionaries[lang];
|
||||
if (undefined === oDictionary) {
|
||||
data.usrCorrect[index] = false;
|
||||
|
||||
Reference in New Issue
Block a user