diff --git a/utils/actions.js b/utils/actions.js index 8f3451c..87b790a 100755 --- a/utils/actions.js +++ b/utils/actions.js @@ -93,7 +93,6 @@ function ProcessIncomingRequest (recievedData, qdb, infos) { if (allQuestions.length > 0) { color = logger.GetColor('blue') msg += `New questions: ${allQuestions.length} ( All: ${allQLength} )` - allQuestions.forEach((q) => { qdb.AddQuestion(d.subj, q) }) @@ -126,6 +125,9 @@ function ProcessIncomingRequest (recievedData, qdb, infos) { if (d.version !== undefined) { msg += '. Version: ' + d.version } logger.Log('\t' + msg, color) + logger.DebugLog('New Questions:', 'actions', 2) + logger.DebugLog(allQuestions, 'actions', 2) + logger.DebugLog('ProcessIncomingRequest done', 'actions', 1) return allQuestions.length } catch (e) {