added error handling to rande621

Should keep it from crashing, but nothing special