This is a problem that the updated cop found. Turns out that giving a block to `raise_error` does nothing. This code was never executed.