diff --git a/docs/cli-commands.md b/docs/cli-commands.md index 55b6d6ca2..4f60e7fc5 100644 --- a/docs/cli-commands.md +++ b/docs/cli-commands.md @@ -180,7 +180,7 @@ this file must remain in place. |--------------------------------------------------------------------------| | We do not guarantee that the state of an xmlupload is cleanly saved after `Ctrl + C`. We only guarantee this for `dsp-tools xmlupload --interrupt-after`. | -This command resumes a previously interrupted XML upload. +This command resumes a previously interrupted `xmlupload` or `ingest-xmlupload`. ```bash dsp-tools resume-xmlupload [options] diff --git a/src/dsp_tools/commands/xmlupload/xmlupload.py b/src/dsp_tools/commands/xmlupload/xmlupload.py index 890a964b6..ca7deb17b 100644 --- a/src/dsp_tools/commands/xmlupload/xmlupload.py +++ b/src/dsp_tools/commands/xmlupload/xmlupload.py @@ -474,7 +474,7 @@ def _create_resource( # raise it here. raise err except Exception as err: # noqa: BLE001 (blind-except) - msg = f"{datetime.now()}: WARNING: Unable to create resource '{resource.label}' ({resource.res_id})" + msg = f"{datetime.now()}: WARNING: Unable to create resource '{resource.label}' (ID: '{resource.res_id}')" if isinstance(err, BaseError): msg = f"{msg}: {err.message}" print(msg)