How to retrieve loop index of failed request

Hey guys,

so I have a table with multiple characters that I concatenate to urls. Then,

I want to loop over each url and try to execute it via a GET Request.

If one of the requests fails, the program should stop and I want to know the index where it has stopped.

However, when there is a failure, the catch block always shows this:

My hope was that the second last row (Row0) indicates where the error occurs. However, this field remains constant, no matter if the first or 10th urls was wrong.

Any ideas?