mirror of
https://github.com/wekan/wekan.git
synced 2026-01-29 12:46:09 +01:00
Output error if bucket.delete fails
This commit is contained in:
parent
0fcfd8e168
commit
dd0d5dbe9f
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ export const createOnAfterRemove =
|
|||
if (gridFsFileId) {
|
||||
const gfsId = createObjectId({ gridFsFileId });
|
||||
bucket.delete(gfsId, err => {
|
||||
console.error("error on gfs bucket.delete: ", err);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue