diff --git a/botEngine.js b/botEngine.js index 5567e08..dad4362 100644 --- a/botEngine.js +++ b/botEngine.js @@ -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);