Fix bad log

This commit is contained in:
Bryan Ashby 2020-05-11 20:31:35 -06:00
parent c8472fe2f0
commit b562ba34b0
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 2 additions and 2 deletions

View File

@ -92,9 +92,9 @@ module.exports = class DownloadQueue {
FileEntry.removeEntry(entry, { removePhysFile : true }, err => {
const Log = require('./logger').log;
if(err) {
Log.warn( { fileId : entry.fileId, path : outputFileName }, 'Failed removing temporary session download' );
Log.warn( { fileId : entry.fileId, path : entry.filePath }, 'Failed removing temporary session download' );
} else {
Log.debug( { fileId : entry.fileId, path : outputFileName }, 'Removed temporary session download item' );
Log.debug( { fileId : entry.fileId, path : entry.filePath }, 'Removed temporary session download item' );
}
});
}