Node.js based forum software built for the modern web
refactor: update message, if ALS store is not found
Barış Soner Uşaklıd25d314d1301
diff --git a/src/webserver.js b/src/webserver.jsindex c84f32a579..774bbe5b7c 100644--- a/src/webserver.js+++ b/src/webserver.js@@ -41,7 +41,7 @@ app.renderAsync = async (tpl, data) => {if (!Object.hasOwn(data, '_i18n')) {const store = als.getStore();if (!store) {- winston.warn('[app.renderAsync] No ALS store found, unable to determine user language for template rendering');+ winston.warn(`[app.renderAsync] No ALS store found, unable to determine user language for template rendering, using default language instead.`);}const uid = store?.uid || 0;const { userLang, acpLang } = await user.getSettings(uid);