From dbcba6aada0f05e683e08af8bf2c9684a3c49e78 Mon Sep 17 00:00:00 2001 From: Michael Tsang Date: Fri, 13 Sep 2024 13:17:11 +0100 Subject: [PATCH] Do not catch errors when importing feed (#98) Co-authored-by: Michael Tsang --- src/cli/ImportFeedCommand.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/cli/ImportFeedCommand.ts b/src/cli/ImportFeedCommand.ts index 7cb5c97d..015e0e7d 100644 --- a/src/cli/ImportFeedCommand.ts +++ b/src/cli/ImportFeedCommand.ts @@ -36,12 +36,7 @@ export class ImportFeedCommand implements CLICommand { * Do the import and then shut down the connection pool */ public async run(argv: string[]): Promise { - try { - await this.doImport(argv[3]); - } - catch (err) { - console.error(err); - } + await this.doImport(argv[3]); return this.end(); }