updated delete file logging
This commit is contained in:
parent
89f6ad9bce
commit
2a1324294c
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"slackWebHook": false,
|
||||
"slackErrorChannel": false,
|
||||
"slackInfoChannel": false
|
||||
}
|
||||
"slackWebHook": false, // string: url for your webhook
|
||||
"slackErrorChannel": false, // e.g. `#speech-error`
|
||||
"slackInfoChannel": false // e.g. `#speech-info`
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ const deleteFile = (filePath) => {
|
|||
if (err) {
|
||||
return logger.error(`error deleting temporary file ${filePath}`);
|
||||
}
|
||||
logger.debug(`successfully deleted ${filePath}`);
|
||||
logger.info(`successfully deleted ${filePath}`);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue