File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
invenio_rdm_records/services/github Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212import yaml
1313from flask import current_app
1414from invenio_i18n import _
15- from invenio_vcs .errors import CustomGitHubMetadataError
15+ from invenio_vcs .errors import CustomVCSMetadataError
1616from invenio_vcs .generic_models import GenericContributor
1717from marshmallow import Schema , ValidationError
1818from mistune import markdown
@@ -145,8 +145,8 @@ def citation_metadata(self):
145145 # Load metadata from citation file and serialize it
146146 return self .load_citation_metadata (data )
147147 except ValidationError as e :
148- # Wrap the error into CustomGitHubMetadataError () so it can be handled upstream
149- raise CustomGitHubMetadataError (file = citation_file_path , message = e .messages )
148+ # Wrap the error into CustomVCSMetadataError () so it can be handled upstream
149+ raise CustomVCSMetadataError (file = citation_file_path , message = e .messages )
150150
151151 @property
152152 def extra_metadata (self ):
You can’t perform that action at this time.
0 commit comments