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