Skip to content
Snippets Groups Projects
Commit 57a68e1c authored by LAFORÊT Nicolas's avatar LAFORÊT Nicolas :rabbit2:
Browse files

:goal: catch students and money errors

parent 35175018
Branches
1 merge request!7🔀 V1
......@@ -28,7 +28,7 @@ const Cart = () => {
if (!successTransaction) {
console.error("Error during transaction with Money.");
setCartError("Error during transaction with payement server.");
return;
// return;
}
// Set adhesion in Student
......@@ -38,6 +38,7 @@ const Cart = () => {
if (!adhesionSuccess) {
console.error("Error during adhesion with Student.");
setCartError("Error during adhesion with student database.");
// return;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment