Revert "Replace generic console.error handlers with window.cloudron.onError"
This reverts commit 7db5a48e35.
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
||||
this.busyRestart = true;
|
||||
|
||||
const [error] = await this.appsModel.restart(this.id);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
if (error) return console.error(error);
|
||||
|
||||
this.busyRestart = false;
|
||||
}
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
this.appsModel = AppsModel.create();
|
||||
|
||||
const [error, app] = await this.appsModel.get(this.id);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
if (error) return console.error(error);
|
||||
|
||||
this.name = `${app.label || app.fqdn} (${app.manifest.title})`;
|
||||
this.showFilemanager = !!app.manifest.addons.localstorage;
|
||||
|
||||
Reference in New Issue
Block a user