From de61cc1d3d8c61432f5ffe3ab71f64bf154a1031 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Sat, 26 Feb 2022 23:30:36 +0100 Subject: [PATCH] enhance error log --- lib/tasks/gather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 614f3566..60bbee22 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -264,7 +264,7 @@ class TaskGather extends Task { .catch((err) => this.logger.info(err, 'Error setting channel variables')); } catch (err) { - this.logger.error("could not init speech for listening"); + this.logger.error({message: err.message, stack: err.stack}, "could not init speech for listening"); } }