This except clause should only be around line 541.