SamagraX-Stencil / stencil

NestJS on steroids 💪
https://stencil.samagra.io
MIT License
28 stars 28 forks source link

Server crashes when invalid destination is provided to download-file in FileUploadModule #113

Closed SurAyush closed 3 weeks ago

SurAyush commented 1 month ago

If the user enters a destination of a file that does not exist, the NEST server immediately crashes instead of handling the error.

a2

Please check the attached picture which shows the server has crashed when 'destination' of /files/download/:destination is invalid (non-existent)