Make createFile send the error on rejection
This commit is contained in:
parent
ce5ed88418
commit
65ded04e73
@ -114,7 +114,7 @@ export async function createFile(
|
|||||||
resolve(`${fileId}.${extention}`);
|
resolve(`${fileId}.${extention}`);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
reject();
|
reject(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user