Clearer exception description

This commit is contained in:
Ryan Schlesinger 2015-05-20 09:19:32 -07:00
parent 9355416ad0
commit a5db2c52c5

View File

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