Cleanup exception handling for parse_item.