Added info to control which polynomial failed with unhandled exception.