fix recoup error handling
This commit is contained in:
parent
718595a572
commit
dbbe1b0a61
@ -118,8 +118,8 @@ async function putGroupAsFinished(
|
|||||||
recoupGroup.scheduleRefreshCoins.map((x) => ({ coinPub: x })),
|
recoupGroup.scheduleRefreshCoins.map((x) => ({ coinPub: x })),
|
||||||
RefreshReason.Recoup,
|
RefreshReason.Recoup,
|
||||||
);
|
);
|
||||||
processRefreshGroup(ws, refreshGroupId.refreshGroupId).then((e) => {
|
processRefreshGroup(ws, refreshGroupId.refreshGroupId).catch((e) => {
|
||||||
console.error("error while refreshing after recoup", e);
|
logger.error(`error while refreshing after recoup ${e}`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user