Revert "Only do an early return instead of onError() when domain adding errors"

This reverts commit 49f8b3b7f6.
This commit is contained in:
Johannes Zellner
2025-12-10 18:04:00 +01:00
parent 2c8dc3e6a7
commit 4dd1a960c1
+1 -1
View File
@@ -78,7 +78,7 @@ async function onSubmit() {
if (error) {
errorMessage.value = error.body ? error.body.message : 'Internal error';
busy.value = false;
return;
if (error) return window.cloudron.onError(error);
}
emit('success');