Skip to content

Commit

Permalink
Do not catch errors when importing feed (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Tsang <[email protected]>
  • Loading branch information
miklcct and miklcct authored Sep 13, 2024
1 parent 2a8b286 commit dbcba6a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/cli/ImportFeedCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
try {
await this.doImport(argv[3]);
}
catch (err) {
console.error(err);
}
await this.doImport(argv[3]);

return this.end();
}
Expand Down

0 comments on commit dbcba6a

Please sign in to comment.