Avoid getting a None
More logging
Log the exception