logging event if failed

This commit is contained in:
Miodec 2022-03-17 20:41:52 +01:00
parent f66d10105c
commit 817287e59c

View file

@ -1516,6 +1516,7 @@ export async function finish(difficultyFailed = false): Promise<void> {
AccountButton.loading(false);
if (response.status !== 200) {
console.log("Error saving result", completedEvent);
$("#retrySavingResultButton").removeClass("hidden");
if (response.message === "Incorrect result hash") {
console.log(completedEvent);