refactor: show invalid uri

This commit is contained in:
Barış Soner Uşaklı
2022-04-22 12:13:43 -04:00
parent dba12fd4bf
commit ac125538d0

View File

@@ -34,6 +34,7 @@ helpers.buildBodyClass = function (req, res, templateData = {}) {
try {
p = slugify(decodeURIComponent(p));
} catch (err) {
winston.error(`Error decoding URI: ${p}`);
winston.error(err.stack);
p = '';
}