API Backend for the Talawa Mobile App. Click on the link below to see our documentation
GNU General Public License v3.0
224
stars
816
forks
source link
Error handling that can occur during the file upload process for the file uploadImage.ts #1264
Closed
nishant3721 closed 1 year ago
Describe the bug Currently, the function only rejects the promise if an error occurs during the createReadStream call.
To Reproduce Steps to reproduce the behavior:
Expected behavior Error handling should be done for the upload process also.
Actual behavior Currently, the errors are handled for the createReadStream call, not during the upload file process.
Screenshots
Additional details Not required
Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359