Skip to content

Commit

Permalink
Add growthbook success log
Browse files Browse the repository at this point in the history
  • Loading branch information
pmantafounis committed Feb 22, 2024
1 parent 35583af commit 7d18e65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/orka-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ export default class OrkaBuilder {
const { createGrowthbook } = require('./initializers/growthbook');
const gb = createGrowthbook(this.config.growthbook);
if (!gb) return;
await gb.loadFeatures().catch(e => getLogger('orka.growthbook').error('Unable to load features', e));

const logger = getLogger('orka.growthbook');
await gb.loadFeatures().catch(e => logger.error('Unable to load features', e));
logger.info('Growthbook features loaded');
});
return this;
}
Expand Down

0 comments on commit 7d18e65

Please sign in to comment.