Skip to content

Commit 1ae2168

Browse files
committed
more debug
1 parent 9636352 commit 1ae2168

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/Indexer/processor.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,12 @@ function getEventProcessor(
5858
if (!ProcessorClass) {
5959
throw new Error(`No processor found for event type: ${eventType}`)
6060
}
61+
INDEXER_LOGGER.debug(
62+
'Creating new Processor for event ' + eventType + "with key ' + cacheKey"
63+
)
6164
processorInstances.set(cacheKey, new ProcessorClass(chainId, config))
6265
}
63-
66+
INDEXER_LOGGER.debug('Reusing cached processor for key ' + cacheKey)
6467
return processorInstances.get(cacheKey)
6568
}
6669

0 commit comments

Comments
 (0)