add --json-error-messages option #32

Merged
cmo merged 15 commits from json-error-output into master 2026-02-11 10:16:06 +00:00
Owner

This PR adds the option --json-error-messages to dtc subcommands. If provided, the subcommands will output error records (one JSON record for each error) in JSONL format on stdout at the end of the command execution. These records are machine-processable.

This PR adds the option `--json-error-messages` to `dtc` subcommands. If provided, the subcommands will output error records (one JSON record for each error) in JSONL format on stdout at the end of the command execution. These records are machine-processable.
Add an option to write information about failed
delete operations to stdout in JSONL format.

Fix exit status handling, errors now lead to
non-zero exit status.
Align error output in `import` with the output
format of the other subcommands, i.e.,

console.print('[red]Error[/red]: ...')
This commit adds the option `--json-error-messages`
to the `dtc` subcommand `export`.

It also ensures that an non-zero exit status is
returned, if an error occurs.
cmo added 10 commits 2026-02-11 10:12:05 +00:00
cmo force-pushed json-error-output from 915f361a63 to 1d364c01d9 2026-02-11 10:14:56 +00:00 Compare
cmo merged commit b564aeb44b into master 2026-02-11 10:16:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/dump-things-pyclient!32
No description provided.