routes: remove useless 'locale' variable in error 505 handler

This commit is contained in:
Samantaz Fox 2022-08-10 01:01:31 +02:00
parent 88ea794fdb
commit 848a60aa9b
No known key found for this signature in database
GPG Key ID: F42821059186176E
1 changed files with 0 additions and 1 deletions

View File

@ -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