Skip to content

Commit

Permalink
Merge pull request #12 from bobanetwork/wsdt/reduce-logs
Browse files Browse the repository at this point in the history
chore: Reduce logs
  • Loading branch information
wsdt authored Mar 13, 2024
2 parents 5b0c6b7 + 8077d8a commit ffe901e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ export class LightBridgeService extends BaseService<TeleportationOptions> {
events,
latestBlock
)
this.logger.info('Disbursed teleportations for network', {
latestBlock,
serviceChainId: this.options.chainId,
})
} catch (err) {
this.logger.error('Error while running teleportation', {
err,
Expand All @@ -228,6 +224,10 @@ export class LightBridgeService extends BaseService<TeleportationOptions> {
}
}
await sleep(this.options.pollingInterval)
this.logger.info('Disbursed teleportations for networks', {
chainIds: this.state.depositTeleportations.map(c => c.chainId),
serviceChainId: this.options.chainId,
})
}
}

Expand Down

0 comments on commit ffe901e

Please sign in to comment.