Revert "Replace generic console.error handlers with window.cloudron.onError"

This reverts commit 7db5a48e35.
This commit is contained in:
Johannes Zellner
2025-12-10 18:04:07 +01:00
parent 4dd1a960c1
commit 1cd069df5e
90 changed files with 298 additions and 297 deletions
@@ -28,7 +28,7 @@ async function onSubmit() {
if (error) {
formError.value.generic = error.body ? error.body.message : 'Internal error';
busy.value = false;
if (error) return window.cloudron.onError(error);
return console.error(error);
}
let contents;
@@ -56,7 +56,7 @@ async function onSubmit() {
if (error) {
formError.value.generic = error.body ? error.body.message : 'Internal error';
busy.value = false;
if (error) return window.cloudron.onError(error);
return console.error(error);
}
emit('success');
@@ -79,7 +79,7 @@ defineExpose({
enableForUpdates.value = !!t.enableForUpdates;
const [error, result] = await appsModel.list();
if (error) return window.cloudron.onError(error);
if (error) return console.error(error);
contentOptions.value = [{
id: 'box',