set try & except