Skip to content

Node.js based forum software built for the modern web

refactor: change error message

Barış Soner Uşaklı1e60ae87035b
diff --git a/src/user/interstitials.js b/src/user/interstitials.js
index a3e7e70868..e0a0d66a55 100644
--- a/src/user/interstitials.js
+++ b/src/user/interstitials.js
@@ -61,7 +61,7 @@ Interstitials.email = async (data) => {
email: formData.email,
force: true,
}).catch((err) => {
- winston.error(`[user.create] Validation email failed to send\n[emailer.send] ${err.stack}`);
+ winston.error(`[user.interstitials.email] Validation email failed to send\n[emailer.send] ${err.stack}`);
});
data.req.session.emailChanged = 1;
} else {