Added more log info on exceptions