mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Clearer exception description
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user