enhance error log

This commit is contained in:
akirilyuk
2022-02-26 23:30:36 +01:00
parent 32ebc7017d
commit de61cc1d3d

View File

@@ -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");
}
}