try catch image missing exception