Overzealous except clause

Looking before you leap with processor-intensive function