@@ -71,7 +71,7 @@ const ensureFundsFor = async (
72 const res = await fundTransactions(signedTxs);
72 const res = await fundTransactions(signedTxs);
73 if (!res.success) {
73 if (!res.success) {
74− throw new Error('tank: request rejected');
74+ throw new Error('tank: request rejected', res);
76 await waitForTransactionConfirm(web3, res.txHash);
76 await waitForTransactionConfirm(web3, res.txHash);
77 let newBalance = await web3.eth.getBalance(address);
77 let newBalance = await web3.eth.getBalance(address);
@@ -88,7 +88,7 @@ const ensureFundsFor = async (
88 await waitForBalance(web3, address, cost, askForFunding, gotFunding);
88 await waitForBalance(web3, address, cost, askForFunding, gotFunding);
91− console.log('tank: already have sufficient funds');
91+ console.log('tank: already have sufficient funds', cost, address, balance);
93 return false;
93 return false;