mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-09 17:58:23 +00:00
routes: remove useless 'locale' variable in error 505 handler
This commit is contained in:
parent
88ea794fdb
commit
848a60aa9b
@ -191,7 +191,6 @@ error 404 do |env|
|
||||
end
|
||||
|
||||
error 500 do |env, ex|
|
||||
locale = env.get("preferences").as(Preferences).locale
|
||||
error_template(500, ex)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user