mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
Use Tickets: better error handling
This commit is contained in:
@@ -60,7 +60,9 @@ $(document).ready( () => {
|
||||
},
|
||||
error: function() {
|
||||
$("#loader-generate").hide();
|
||||
alert("Testnet Faucetにエラーが発生しました。もう一度試してください。");
|
||||
$("#populate-creds-status").html(
|
||||
`<p class="devportal-callout warning"><strong>エラー:</strong>
|
||||
テストネットワークFaucetにエラーが発生しました。もう一度試してください。`);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -60,7 +60,11 @@ $(document).ready( () => {
|
||||
},
|
||||
error: function() {
|
||||
$("#loader-generate").hide();
|
||||
alert("There was an error with the Testnet. Please try again.");
|
||||
$("#populate-creds-status").html(
|
||||
`<p class="devportal-callout warning"><strong>Error:</strong>
|
||||
There was an error connecting to the test network Faucet. Please
|
||||
try again.</p>`)
|
||||
return;
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user