Ya it seems a bit odd, and it may not be the best way to do it... but here's why I want to do it.
I am using error handling that is set to continue the task and send an email with a screen shot of the error that it experiences. This great because it lets me see what was going on at the time the error occurred. In my example, I want to see what the web page contained at the time of the error.
I could use the snapshot feature and save the snapshot (screenshot) locally then send an email with the snapshot as an attachment... but throwing an error is just quicker at would do all of those steps in one... so I wanted to do that.
|