Please fix as below:
```ruby
# worse
if x
  raise Z unless y
end
# better
if x && !y
  raise Z
end
```