Skip to content

Commit

Permalink
docs: precise resume-xmlupload (#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Apr 5, 2024
1 parent 2a8d574 commit 9611115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cli-commands.md
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/dsp_tools/commands/xmlupload/xmlupload.py
Expand Up @@ -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)
Expand Down

0 comments on commit 9611115

Please sign in to comment.