mirror of
https://github.com/iv-org/invidious.git
synced 2026-10-24 22:09:13 -05:00
remove leftover : in rescue
This commit is contained in:
parent
6a5bf45bfe
commit
cf15e65d9f
@ -187,7 +187,7 @@ module Invidious::Routes::API::V1::Videos
|
||||
|
||||
begin
|
||||
video = get_video(id, region: region)
|
||||
rescue : NotFoundException
|
||||
rescue NotFoundException
|
||||
haltf env, 404
|
||||
rescue
|
||||
haltf env, 500
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user