mirror of
https://github.com/franjsco/trackmyd-bot
synced 2025-02-21 05:50:56 +01:00
add error template
This commit is contained in:
parent
85967afb3a
commit
cd262383f5
6
utils.js
6
utils.js
@ -50,8 +50,14 @@ function templateDevicesList(data) {
|
|||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function templateError(data) {
|
||||||
|
const msg = 'Error, check the server.log';
|
||||||
|
return msg;
|
||||||
|
}
|
||||||
|
|
||||||
module.exports.templateStart = templateStart;
|
module.exports.templateStart = templateStart;
|
||||||
module.exports.templateHelp = templateHelp;
|
module.exports.templateHelp = templateHelp;
|
||||||
module.exports.templateUnauthorizedUser = templateUnauthorizedUser;
|
module.exports.templateUnauthorizedUser = templateUnauthorizedUser;
|
||||||
module.exports.templatePosition = templatePosition;
|
module.exports.templatePosition = templatePosition;
|
||||||
module.exports.templateDevicesList = templateDevicesList;
|
module.exports.templateDevicesList = templateDevicesList;
|
||||||
|
module.exports.templateError = templateError;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user