Commit aec8793a authored by Shinya Maeda's avatar Shinya Maeda

Modify ActiveRecordError to raise proper error type

parent 4b4cf772
......@@ -175,7 +175,7 @@ module ObjectStorage
return unless persist_object_store?
updated = model.update_column(store_serialization_column, object_store)
raise ActiveRecordError unless updated
raise 'Failed to update object store' unless updated
end
def use_file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment