Temporarily add logging when rails returns a nil body