More prettier missing files

This commit is contained in:
Kasper Rynning-Tønnesen
2019-07-26 08:50:35 +02:00
parent 6ed67ffee6
commit 6289f73844
3 changed files with 5 additions and 5 deletions

View File

@@ -38,9 +38,8 @@ function requested_change(type, string, channel) {
}
});
} catch (e) {
console.log("Mail is not configured and wont work");
console.log(
"Seems you forgot to create a mailconfig.js in /server/config/. Have a look at the mailconfig.example.js."
"(!) Missing file - /config/mailconfig.js Have a look at /config/mailconfig.example.js. "
);
}
}

View File

@@ -2339,9 +2339,8 @@ try {
}
});
} catch (e) {
console.log("Mail is not configured and wont work");
console.log(
"Seems you forgot to create a mailconfig.js in /server/config/. Have a look at the mailconfig.example.js."
"(!) Missing file - /config/mailconfig.js Have a look at /config/mailconfig.example.js. "
);
router.route("/api/mail").post(function(req, res) {
console.log(

View File

@@ -23,7 +23,9 @@ try {
analytics = google.analytics;
adsense = google.adsense;
} catch (e) {
console.log("No analytics-id found");
console.log(
"(!) Missing file - /config/google.js Have a look at /config/google.example.js. This is for google analytics."
);
}
try {