Adding missing exception logging