lbry-desktop/web/src
infinite-persistence 60f48b1a3b
Fix invalid claims ending up with status 500 (#1678)
## Issue
Due the `parseUri` not being used in a try-catch block, the thrown error surfaces all the way up and the 500 catch-all status was used.

The search console was been complaining about this for a while now. I've always thought "what's the problem here, you entered the wrong claim format", but now I realized it's about the error code.

## Change
`try-catch` the call as normal for that function, and return 404. We will still relay the error message it was.
2022-06-13 08:55:45 -04:00
..
metadata Fix crash on direct load (anonymous only?) 2022-06-10 13:12:57 -04:00
push-notifications Add hints if an error occurs subscribing to notifications (#143) 2021-11-01 14:51:23 -04:00
chainquery.js Update CQ username 2022-03-31 19:00:08 -07:00
fetchStreamUrl.js getHtml/routes/rss: fetch streaming_url instead of generating it. 2022-05-13 20:23:17 +08:00
firebase-config.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
getHomepageJSON.js Homepage API: add ?format=roku support (#1655) 2022-06-09 00:53:58 -04:00
homepageApi.js Homepage API: add ?format=roku support (#1655) 2022-06-09 00:53:58 -04:00
html.js Fix invalid claims ending up with status 500 (#1678) 2022-06-13 08:55:45 -04:00
lbryURI.js Clean invisible chars and adjust "__" for server and client use (#715) 2022-01-18 12:09:59 -05:00
oEmbed.js Improve livestream external embeds 2022-03-16 16:36:50 -04:00
routes.js Handle invalid /$/download and /$/stream with a 404 (#1676) 2022-06-13 08:35:24 -04:00
rss.js RSS: parallel-fetch the stream urls 2022-05-27 08:38:18 -04:00
service-worker.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
tempfile.js Fix tempFileMiddleware that was serving a cached .well-known file 2022-04-28 09:09:30 -04:00
ua.js Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
xml.js favicon custom 2021-07-23 17:12:18 -04:00