SamagraX-Stencil / stencil

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

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

Closed SurAyush closed 5 months ago

SurAyush commented 6 months 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)