logs: on the server, use template literals when possible

It's just synctactic sugar, but it is always better than executing string
concatenations in one's mind.

Do not do this with files in src/static, because we want to keep IE 11
compatibility.
This commit is contained in:
muxator 2018-08-27 01:29:37 +02:00
parent 0e972aaecf
commit 27b3b0ecd2
5 changed files with 15 additions and 15 deletions

View file

@ -353,7 +353,7 @@ function listSessionsWithDBKey (dbkey, callback)
{
if (err == "apierror: sessionID does not exist")
{
console.warn("Found bad session " + sessionID + " in " + dbkey + ".");
console.warn(`Found bad session ${sessionID} in ${dbkey}`);
}
else if(ERR(err, callback))
{