mirror of
https://github.com/iv-org/invidious.git
synced 2026-11-19 22:43:27 +05:30
fix: remove unused ex in rescue
This commit is contained in:
1 file changed
+1
-1
@@ -349,7 +349,7 @@ class Config
|
||||
if (domain = config.domain)
|
||||
if parsed_domain = begin
|
||||
URI.parse(domain)
|
||||
rescue ex
|
||||
rescue
|
||||
puts "Config (Hint): Failed to parse domain. Please check it's value!"
|
||||
exit(1)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user