mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-23 01:03:21 +00:00
As per code review, we follow this approach https://sikac.hu/missing-translations-keys-gotta-catch-em-all-3aa8d2ead8bd
5 lines
118 B
Ruby
5 lines
118 B
Ruby
# frozen_string_literal: true
|
|
|
|
I18n.exception_handler = Proc.new do |exception, *_|
|
|
raise exception.to_exception
|
|
end |