print messages when failing to parse a string for a polynomial