Log exception.
Log exceptions.