Only log error to console if not handled

This commit is contained in:
Johannes Zellner
2025-08-10 15:52:53 +02:00
parent f179d92c9c
commit fed0c7a330
+3 -1
View File
@@ -66,13 +66,15 @@ async function onSubmit() {
passwordRepeat.value = '';
} else {
formError.value.generic = error.body ? error.body.message : 'Interal error';
console.error(error);
}
} else {
formError.value.generic = error.body ? error.body.message : 'Interal error';
console.error(error);
}
busy.value = false;
return console.error(error);
return;
}
// set token to autologin on first oidc flow