Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit c9e603ad authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update invenio_tools.load_record to document exception.

parent 7c8fd1f4
......@@ -47,6 +47,10 @@ def load_record(host, record_id):
Returns:
Record or None: the decoded record when it exist, ``None`` otherwise.
Raises:
CdsException: when the server return an HTTP error.
Marc12Exception: when a record is not well formed XML.
"""
store = InvenioStore(host)
xml = store.get_record(record_id)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment