Skip to content

Node.js based forum software built for the modern web

fix: show errors when saving settings

Barış Soner Uşaklıf49f540bfab0
diff --git a/public/src/client/account/settings.js b/public/src/client/account/settings.js
index 9445fcb340..2e220fb080 100644
--- a/public/src/client/account/settings.js
+++ b/public/src/client/account/settings.js
@@ -102,7 +102,7 @@ define('forum/account/settings', [
if (languageChanged && parseInt(app.user.uid, 10) === parseInt(ajaxify.data.theirid, 10)) {
window.location.reload();
}
- });
+ }).catch(alerts.error);
}
function toggleCustomRoute() {