wallet-core: log insufficient balance details
This commit is contained in:
parent
420493b3e6
commit
3bcac051ed
@ -1373,6 +1373,9 @@ export async function checkPaymentByProposalId(
|
||||
|
||||
if (res.type !== "success") {
|
||||
logger.info("not allowing payment, insufficient coins");
|
||||
logger.info(
|
||||
`insufficient balance details: ${j2s(res.insufficientBalanceDetails)}`,
|
||||
);
|
||||
return {
|
||||
status: PreparePayResultType.InsufficientBalance,
|
||||
contractTerms: d.contractTermsRaw,
|
||||
|
Loading…
Reference in New Issue
Block a user