Resolve #569 - improve error handling in FixClass.aspx