mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Attachment migration, add error logs
This commit is contained in:
parent
368fe24956
commit
47ca6829eb
2 changed files with 21 additions and 21 deletions
|
|
@ -26,7 +26,7 @@ export const createOnAfterUpload = bucket =>
|
|||
// and we unlink the file from the fs on any error
|
||||
// that occurred during the upload to prevent zombie files
|
||||
.on('error', err => {
|
||||
// console.error(err);
|
||||
console.error("[createOnAfterUpload error]", err);
|
||||
self.unlink(this.collection.findOne(file._id), versionName); // Unlink files from FS
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue