error handling
Posted: 2013-12-28 10:59:21
hi,
working with my script in batch mode, I sometimes got different errors which stopped the script until I pressed the OK button.
- server error - HTTP error 500
- internal error 336 - read timeout
- internal socket error 10060 - connection timeout.
I´ve seen there is a new function RaiseConnectionError which turns on/off the error display. Due to the fact, that I have no clue how to simulate these errors for testing, there are a couple of questions I still need an answer for.
- Do I use the function RaiseConnectionError(False) once at the beginning of the script?
- Does the function turn off/hide all these error messages?
- Is the script then going on with next movie/picture/script line?
- Can I write the error message into a variable and show a "log window" or write it into a "log file" at the end of batch processing?
- Is there a kind of "on error do ..."?
thanks
J.
working with my script in batch mode, I sometimes got different errors which stopped the script until I pressed the OK button.
- server error - HTTP error 500
- internal error 336 - read timeout
- internal socket error 10060 - connection timeout.
I´ve seen there is a new function RaiseConnectionError which turns on/off the error display. Due to the fact, that I have no clue how to simulate these errors for testing, there are a couple of questions I still need an answer for.
- Do I use the function RaiseConnectionError(False) once at the beginning of the script?
- Does the function turn off/hide all these error messages?
- Is the script then going on with next movie/picture/script line?
- Can I write the error message into a variable and show a "log window" or write it into a "log file" at the end of batch processing?
- Is there a kind of "on error do ..."?
thanks
J.