Fixed #169, More logging on Exception