mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix empty error page on BrokenTubeException
This commit is contained in:
parent
492d1144e0
commit
ec55b905cb
1 changed files with 5 additions and 1 deletions
|
@ -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 < Exception
|
||||
getter element : String
|
||||
|
||||
def initialize(@element)
|
||||
end
|
||||
|
||||
def message
|
||||
return "Missing JSON element \"#{@element}\""
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue