π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π₯ Better error catch/display for config save fail (#2199)
Alicia Sykesa2e9a52f087b
diff --git a/src/mixins/ConfigSaving.js b/src/mixins/ConfigSaving.jsindex 661097b6..36e9116a 100644--- a/src/mixins/ConfigSaving.js+++ b/src/mixins/ConfigSaving.js@@ -59,9 +59,9 @@ export default {}).catch((error) => {this.saveSuccess = false;- this.responseText = error;- this.showToast(error, false);- ErrorHandler(`Failed to save config. ${error}`);+ this.responseText = error.response?.data?.message || error.message || String(error);+ this.showToast(this.$t('config-editor.error-msg-cannot-save'), false);+ ErrorHandler(`Failed to save config. ${this.responseText}`);this.progress.end();return false;});