logging exception thrown while doing speech recognition