I am importing and processing a bunch of files. Sometimes, for whatever reason, some of these files are not successfully imported so I'm looking for a way to Abort
and Print
some message containing useful information to debug.
I was looking into adapting this thread (specifically Mr.Wizard♦'s answer) for my purposes. Is there a way to verify if Import generated any errors?
Check
something you could use? $\endgroup$Check
should do the trick. $\endgroup$