added more info while logging exceptions