Add logging to figure out why it's failing.