chrismheiser / lipdnet

All things related to Lipd.net and the LiPD Playground
http://www.lipd.net
1 stars 1 forks source link

Better 404 error routing catches #80

Open chrismheiser opened 4 years ago

chrismheiser commented 4 years ago

Noticed a bug when using the test site today. When you try to download a file from the test site, it creates the LiPD file on the test site, then does the GET download request on the production site. This causes an error because the file is not found (ENOENT)

This shouldn't show a raw error on the page. It should catch the error and show a 404 page or something else.