Jump to content
Sign in to follow this  
WorknMan

Recovering from a script error?

Recommended Posts

WorknMan

Hey guys,

I've done some searching but can't find a solution for this. I am having a problem with one of my scripts dying. Specifically, this:

I did not write this UDF, and I have no idea how to fix it, or how to test for this condition. It dies with this error about once out of every 100 times I run it, so it's very hard to debug. And worse yet, I use this script to feed data to me remotely, so it's very annoying to have this happen when I'm not at home.

What I'm wondering is if it's possible to 'catch' this error and have the script exit gracefully? Ideally I'd like to just have the script rerun itself, since it almost always finishes successfully on the second attempt. But at the very least, I'd like to have the script shut down gracefully.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×