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

pull/3261/head
Samantaz Fox 2 years ago
parent 88ea794fdb
commit 848a60aa9b
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -191,7 +191,6 @@ error 404 do |env|
end end
error 500 do |env, ex| error 500 do |env, ex|
locale = env.get("preferences").as(Preferences).locale
error_template(500, ex) error_template(500, ex)
end end

Loading…
Cancel
Save