Format try/catch block