try except search