Skip to content

Commit

Permalink
fix: unblock UI and show generic error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Jan 10, 2025
1 parent 978a6f6 commit 8bf8116
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/js/frontend/wc-square.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ jQuery( document ).ready( ( $ ) => {
false,
verificationResult
);
})
.catch(error => {
this.handle_errors([ error ]);
});
});
} else {
Expand Down Expand Up @@ -421,7 +424,10 @@ jQuery( document ).ready( ( $ ) => {
false,
verificationResult
);
});
})
.catch(error => {
this.handle_errors([ error ]);
});;
});
}

Expand Down

0 comments on commit 8bf8116

Please sign in to comment.