Skip to content

Commit

Permalink
fix: Do not log unloggable context
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Blancard committed Jul 9, 2018
1 parent 105c649 commit 131137c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botfuel-dialog/src/nlus/botfuel-nlu.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class BotfuelNlu extends Nlu {

/** @inheritdoc */
async compute(sentence, context) {
logger.debug('compute', sentence, context);
logger.debug('compute', sentence); // Context is not loggable

// compute entities
const messageEntities = await this.computeEntities(sentence);
Expand Down

0 comments on commit 131137c

Please sign in to comment.