Try logging exception