frint errors
This commit is contained in:
parent
f999aa459f
commit
c208f83820
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ function storeFile(fileId, callback) {
|
|||
let storeFileCallback = (err, filePath, chatId, photoId) => {
|
||||
let response;
|
||||
if (err) {
|
||||
console.error('Failed to save file...[ERROR]\n', err);
|
||||
response = config.messages.sendieResponse.failedToSaveFile;
|
||||
response = response.replace('{error}', err);
|
||||
telegram.sendMessage(chatId, response);
|
||||
|
|
Loading…
Reference in a new issue