Only log error to console if not handled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user