Skip to content

Commit

Permalink
fix: pass config for start
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Feb 22, 2024
1 parent 263db7c commit 62b78e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ loggerCfg.esTransformer = (msg) => {
const logger = createLogger(loggerCfg);

const worker = new Worker();
worker.start().then().catch((err) => {
worker.start(cfg).then().catch((err) => {
logger.error('startup error', err);
process.exit(1);
});
Expand Down

0 comments on commit 62b78e0

Please sign in to comment.