Skip to content

Commit a5db2c5

Browse files
committed
Clearer exception description
1 parent 9355416 commit a5db2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/poro.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,6 @@ def self.root_name
214214

215215
RaiseErrorSerializer = Class.new(ActiveModel::Serializer) do
216216
def json_key
217-
raise StandardError, 'OOPS'
217+
raise StandardError, 'Intentional error for rescue_from test'
218218
end
219219
end

0 commit comments

Comments
 (0)