Skip to content

Commit

Permalink
Remove log and error thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
d-gubert committed Dec 29, 2023
1 parent 4b8acea commit 2d5b86b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/managers/AppVideoConfProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,17 @@ export class AppVideoConfProvider {
runContextArgs: Array<any>,
): Promise<string | boolean | Array<IBlock> | undefined> {
const provider = this.provider.name;
const logger = this.app.setupLogger(method);
logger.debug(`Executing ${method} on video conference provider...`);

try {
const result = await this.app.getDenoRuntime().sendRequest({
method: `videoconference.${provider}.${method}`,
params: [runContextArgs],
});

return result as string;
} catch (e) {
// @TODO add error handling
console.log(e);
throw e;
}
}
}

0 comments on commit 2d5b86b

Please sign in to comment.