I have a bot that stores information as it chugs along. When the process is over, the variables get written to an Excel. My bot will occasionally fail as it is running. Is there a way to display what specified variables are in a message, so I can view the variables at the point of failure.
Example:
for each row:
start process
x = “”
if column1 =2 :
x = “two”
if column2 = True
x = x+“True”
end process
write to excel
??? Example Question ???
If my bot failed at if column2 = True, could I log that x=“two” or x=“”, so that I still have that information