Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sammachin committed Dec 2, 2024
1 parent 0bb7b1b commit e3d40d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/session/call-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const BackgroundTaskManager = require('../utils/background-task-manager');
const dbUtils = require('../utils/db-utils');
const BADPRECONDITIONS = 'preconditions not met';
const CALLER_CANCELLED_ERR_MSG = 'Response not sent due to unknown transaction';
const { NonFatalTaskError} = require('../utils/error')
const { NonFatalTaskError} = require('../utils/error');
const sqlRetrieveQueueEventHook = `SELECT * FROM webhooks
WHERE webhook_sid =
(
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class TaskPlay extends Task {
}
} catch (err) {
if (timeout) clearTimeout(timeout);
this.playComplete = true
this.playComplete = true;
await this.performAction({status: 'fail', reason: 'playFailed'}, !(this.parentTask || cs.isConfirmCallSession));
this.emit('playDone');
this.logger.info(err, `TaskPlay:exec - error playing ${this.url}`);
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class SpeechCredentialError extends Error {
class NonFatalTaskError extends Error {
constructor(msg) {
super(msg);
}
}
}

module.exports = {
Expand Down

0 comments on commit e3d40d9

Please sign in to comment.