mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Clearer exception description
This commit is contained in:
parent
9355416ad0
commit
a5db2c52c5
2
test/fixtures/poro.rb
vendored
2
test/fixtures/poro.rb
vendored
@ -214,6 +214,6 @@ end
|
||||
|
||||
RaiseErrorSerializer = Class.new(ActiveModel::Serializer) do
|
||||
def json_key
|
||||
raise StandardError, 'OOPS'
|
||||
raise StandardError, 'Intentional error for rescue_from test'
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user