now logging exceptions