Added Logger for exceptions