Revert "Replace generic console.error handlers with window.cloudron.onError"
This reverts commit 7db5a48e35.
This commit is contained in:
@@ -59,7 +59,7 @@ async function onSubmit() {
|
||||
if (error) {
|
||||
labelError.value = error.body ? error.body.message : 'Internal error';
|
||||
busy.value = false;
|
||||
if (error) return window.cloudron.onError(error);
|
||||
return console.error(error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ async function onSubmit() {
|
||||
if (error) {
|
||||
tagsError.value = error.body ? error.body.message : 'Internal error';
|
||||
busy.value = false;
|
||||
if (error) return window.cloudron.onError(error);
|
||||
return console.error(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user