When the call of the $entity.save()
fails an exception is thrown. This exception is not handled and reaches the client (browser). The execution stops.
Instead of that we could handle the exception, log it in Drupal's logs and continue with the import of the rest entities.
Needs review
2.0
Code
The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.