You need to raise an error if this is empty. So I'd unindent the whole block and instead add a:
```
if claimed_disks.empty?
  raise "Blabla"
end
```