Page 1 of 1

Last error description - how to get this variable?

Posted: Sat Jan 17, 2015 5:04 pm
by breq
Hi,

I want to send an email if there was any errors in task. I know how to chec if there was an error but I can't get gescription of that error.
What I'm doing wrong?

http://i.imgur.com/dTxKQSw.png

Re: Last error description - how to get this variable?

Posted: Sat Jan 17, 2015 6:48 pm
by Oleg
Now you can do this if you use error handling task.
See the screenshot please:
errorhand.png
errorhand.png (60.09 KiB) Viewed 14576 times
Also see demo examples named:
"[DEMO] Error Handling Demo (Send Email with error)"
"[DEMO] Error Handling Task"

Also you can find these tasks here:
[DEMO] Error Handling Demo (Send Email with error)
[DEMO] Error Handling Task

Read more about error handling task here, please

But I wrote into our ToDo. Maybe it have a sense to make available the error description without error handling task

Re: Last error description - how to get this variable?

Posted: Sun Jan 18, 2015 4:49 am
by breq
I have changed to 'run error handler' but robotask sends me message
"Loop initialization error" when I need an error from MySQL (marked as yellow) .. is it possible to get this somehow?

http://i.imgur.com/25ZG1aI.png

Re: Last error description - how to get this variable?

Posted: Sun Jan 18, 2015 10:02 am
by Oleg
Probably DB loop doesn't save the detailed description of error. We'll check and correct this ASAP.