fix prev commit

This commit is contained in:
Dave Horton
2022-08-01 15:12:35 +01:00
parent cb6817449d
commit 1c5c76de61

View File

@@ -61,10 +61,10 @@ class TaskListen extends Task {
if (this.ep && this.ep.connected) { if (this.ep && this.ep.connected) {
this.logger.debug('TaskListen:kill closing websocket'); this.logger.debug('TaskListen:kill closing websocket');
try { try {
await this.ep.forkAudioStop() await this.ep.forkAudioStop();
this.logger.debug('TaskListen:kill successfully closed websocket'); this.logger.debug('TaskListen:kill successfully closed websocket');
} catch (err) { } catch (err) {
this.logger.info(err, 'TaskListen:kill')); this.logger.info(err, 'TaskListen:kill');
} }
} }
if (this.recordStartTime) { if (this.recordStartTime) {