Fixed broken error handling on datacite errors.

Changelog: Fixed

Merge request reports

Loading