Skip to content

Commit

Permalink
remove catch to let the error raise on its own
Browse files Browse the repository at this point in the history
  • Loading branch information
godber committed Oct 23, 2020
1 parent a837a4c commit dfb1c25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/teraslice-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ export default class TerasliceStats implements TerasliceStatsInterface {
this.queryDuration.controllers = controllers.queryDuration;
this.queryDuration.state = state.queryDuration;
};
await run().catch((err) => {
throw new Error(`Error caught on run() ${this.baseUrl}: ${err}`);
});
await run();
}
}

0 comments on commit dfb1c25

Please sign in to comment.