add error template

This commit is contained in:
Francesco Esposito 2019-02-21 13:05:33 +01:00
parent 85967afb3a
commit cd262383f5
1 changed files with 6 additions and 0 deletions

View File

@ -50,8 +50,14 @@ function templateDevicesList(data) {
return msg;
}
function templateError(data) {
const msg = 'Error, check the server.log';
return msg;
}
module.exports.templateStart = templateStart;
module.exports.templateHelp = templateHelp;
module.exports.templateUnauthorizedUser = templateUnauthorizedUser;
module.exports.templatePosition = templatePosition;
module.exports.templateDevicesList = templateDevicesList;
module.exports.templateError = templateError;