Fix bad log
This commit is contained in:
parent
c8472fe2f0
commit
b562ba34b0
|
@ -92,9 +92,9 @@ module.exports = class DownloadQueue {
|
||||||
FileEntry.removeEntry(entry, { removePhysFile : true }, err => {
|
FileEntry.removeEntry(entry, { removePhysFile : true }, err => {
|
||||||
const Log = require('./logger').log;
|
const Log = require('./logger').log;
|
||||||
if(err) {
|
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 {
|
} 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' );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue