Invidious is an alternative front-end to YouTube
Fix empty error page on BrokenTubeException
Samantaz Foxec55b905cb8b
diff --git a/src/invidious/exceptions.cr b/src/invidious/exceptions.crindex 391a574d..490d98cd 100644--- a/src/invidious/exceptions.cr+++ b/src/invidious/exceptions.cr@@ -1,8 +1,12 @@# Exception used to hold the name of the missing item# Should be used in all parsing functions-class BrokenTubeException < InfoException+class BrokenTubeException < Exceptiongetter element : Stringdef initialize(@element)end++ def message+ return "Missing JSON element \"#{@element}\""+ endend