so I have a project that reads a bunch of .xml files and parses the data from them, it seems that on some of them there are errors and I want when I catch something like this to skip over and ignore the error and jump to the next file.
Try Xml.LoadXml(f) Catch err As KeyNotFoundException P5FVal = P5FVal + 1 End Try
Code is something like above, the problem is that in the project when I run in Xojo I get error and stopping the code on
then it stops and then I have to press resume so that I can run the rest.
By doing that it seems that the code runs again and all is processed if no other errors.
IS there a way to ignore that and skip the file ? even thinking to move the file in another folder like corruptedFiles or something like that .