Skip to content

Commit

Permalink
reenable new relic and remove catch block from src/worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Mar 26, 2021
1 parent 274c644 commit 8b99f94
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable import/first */
// require('newrelic');
require('newrelic');

import {} from 'dotenv/config';
import throng from 'throng';
Expand Down Expand Up @@ -31,11 +31,7 @@ function start() {
.info('Legacy report reconciliation completed successfully'));
reconciliationQueue.process('legacyReports', async (job) => {
logger.info(`starting ${job}`);
try {
await reconcileLegacyReports();
} catch (e) {
auditLogger.error(e);
}
await reconcileLegacyReports();
});
}

Expand Down

0 comments on commit 8b99f94

Please sign in to comment.