Don't try to log error that doesn't exist
This commit is contained in:
parent
57dc7c91ef
commit
76aa54f22c
|
@ -1190,7 +1190,9 @@ function FTNMessageScanTossModule() {
|
|||
rejects.includes(bundleFile.path) ? 'reject' : 'good',
|
||||
() => {
|
||||
fs.unlink(bundleFile.path, err => {
|
||||
if(err) {
|
||||
Log.error( { path : bundleFile.path, error : err.message }, 'Failed unlinking bundle');
|
||||
}
|
||||
return nextFile(null);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue