Commit e6297a02 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Use #update! over #update to make errors visible

parent fff77541
......@@ -19,7 +19,7 @@ class PoolRepository < ActiveRecord::Base
private
def correct_disk_path
update(disk_path: storage.disk_path)
update!(disk_path: storage.disk_path)
end
def storage
......
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