Invidious is an alternative front-end to YouTube
Throw 500 on '/watch' page error
Omar Rothb14a8c3f3daf
diff --git a/src/invidious.cr b/src/invidious.crindex 3b42c443..16a2d458 100644--- a/src/invidious.cr+++ b/src/invidious.cr@@ -324,6 +324,7 @@ get "/watch" do |env|video = get_video(id, client, PG_DB)rescue exerror_message = ex.message+ env.response.status_code = 500next templated "error"end