Skip to content

Commit dbcba6a

Browse files
authored
Do not catch errors when importing feed (#98)
Co-authored-by: Michael Tsang <michael.tsang@jnction.co.uk>
1 parent 2a8b286 commit dbcba6a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/cli/ImportFeedCommand.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@ export class ImportFeedCommand implements CLICommand {
3636
* Do the import and then shut down the connection pool
3737
*/
3838
public async run(argv: string[]): Promise<void> {
39-
try {
40-
await this.doImport(argv[3]);
41-
}
42-
catch (err) {
43-
console.error(err);
44-
}
39+
await this.doImport(argv[3]);
4540

4641
return this.end();
4742
}

0 commit comments

Comments
 (0)