More logging of informations, custom exception