wallet-core: fix withdrawal error reporting
This commit is contained in:
parent
5af24c1e88
commit
18a3d764de
@ -1615,6 +1615,19 @@ async function processWithdrawalGroupPendingReady(
|
|||||||
|
|
||||||
notifyTransition(ws, transactionId, res.transitionInfo);
|
notifyTransition(ws, transactionId, res.transitionInfo);
|
||||||
|
|
||||||
|
if (numPlanchetErrors > 0) {
|
||||||
|
return {
|
||||||
|
type: OperationAttemptResultType.Error,
|
||||||
|
errorDetail: makeErrorDetail(
|
||||||
|
TalerErrorCode.WALLET_WITHDRAWAL_GROUP_INCOMPLETE,
|
||||||
|
{
|
||||||
|
errorsPerCoin,
|
||||||
|
numErrors: numPlanchetErrors,
|
||||||
|
},
|
||||||
|
),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
type: OperationAttemptResultType.Finished,
|
type: OperationAttemptResultType.Finished,
|
||||||
result: undefined,
|
result: undefined,
|
||||||
|
Loading…
Reference in New Issue
Block a user