-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Summary
In importBatch(), the error check and the "already processed" check are in the wrong order. If a batch has both error and imported set, it gets skipped as "already done" rather than recognized as errored.
Current
async function importBatch(item: DiscoveredItem, retry: boolean = false) {
if (item.imported && item.processed) {
return;
}
if (item.error && !retry) {
return;
}Fix
async function importBatch(item: DiscoveredItem) {
if (item.error) {
return;
}
if (item.imported && item.processed) {
return;
}File
services/mediators/satoshi/src/satoshi-mediator.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels