Skip to content

Commit

Permalink
Fix faucet request error
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalcom committed Jun 18, 2024
1 parent 8ca39e8 commit 5269340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/near-fast-auth-signer-e2e-tests/scripts/faucet.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function fillWallet(address, chain) {
});

if (!response.ok) {
throw new Error(`Faucet HTTP error! status: ${response.statusText}`);
return response.text().then((text) => { throw new Error(text); });
}

console.log(`Faucet request for ${chain} address ${address} successful`);
Expand Down

0 comments on commit 5269340

Please sign in to comment.