Skip to content

Commit

Permalink
Update play.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sammachin committed Dec 4, 2024
1 parent 4899db3 commit d30f00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class TaskPlay extends Task {
} catch (err) {
this.logger.info(err, `TaskPlay:exec - error playing ${this.url}`);
this.playComplete = true;
if (err.message === 'File not found') {
if (err.message === 'File Not Found') {
const {writeAlerts, AlertType} = cs.srf.locals;
await this.performAction({status: 'fail', reason: 'playFailed'}, !(this.parentTask || cs.isConfirmCallSession));
this.emit('playDone');
Expand Down

0 comments on commit d30f00f

Please sign in to comment.