Add in log statements to debug production error