Add a missing `throw`.