race condition investigation

add in some console logs to determine the cause of a race condition only seen in prod.