How does the sentence end?

The bitter coffee was drunk happily by Logan but not William because
Logan got no sleep the night before.