Parser code is available
try { id_source = await ParsingAll(0, "#adv_id", ""); foto_path = await ParsingAll(1, "img[id='print_user_photo']", "src"); position = await ParsingAll(0, "div.title.adv-title.newTitle > h1", ""); catch (Exception ex) { Error?.Invoke(id_source + "- Error - "); } How to do if an error occurs in the string "foto_path", then after processing the try / catch error, the program continued to work and began to execute the string "position"?