Gets work item name of item that was not successfully imported.

def get_result_warn(self, line):
        """Gets work item name of item that was not successfully imported."""
        res = self.RESULT_WARN_SEARCH.search(line)
        try:
            return LogItem(res.group(1), None, None)
        except (AttributeError, IndexError):
            pass

        # try again with custom ID
        res = self.RESULT_WARN_SEARCH_CUSTOM.search(line)
        try:
            return LogItem(res.group(1), None, res.group(2))
        except (AttributeError, IndexError):
            return None