Description
It is very confusing that I get this output that kind of looks like chalk succeeded in doing something even when a file doesn't even exist.
I'd expect it to exit as soon as it gets this error.
admin@ubuntu:~$ ./chalk extract flubber
warn: Disabling docker codec as docker command is not available
info: Installed bash auto-completion file to: /home/admin/.local/share/bash_completion/completions/chalk.bash
info: Added sourcing of autocomplete to ~/.bash_completion file
warn: docker: no command found in PATH. `chalk docker` not available.
error: flubber: No image or container found
warn: No chalk marks extracted
info: /home/admin/.local/chalk/chalk.log: Open (sink conf='default_out')
info: Full chalk report appended to: ~/.local/chalk/chalk.log
[
{
"_OPERATION": "extract",
"_DATETIME": "2026-03-31T19:53:22.430+00:00",
"_ENV": {
I'd expect it to do something like:
admin@ubuntu:~$ ./chalk extract flubber
warn: Disabling docker codec as docker command is not available
info: Installed bash auto-completion file to: /home/admin/.local/share/bash_completion/completions/chalk.bash
info: Added sourcing of autocomplete to ~/.bash_completion file
warn: docker: no command found in PATH. `chalk docker` not available.
error: flubber: No image or container found
admin@ubuntu~$
Impact
Not low.
Steps to Reproduce
Run chalk extract on any non-existing file.
Description
It is very confusing that I get this output that kind of looks like chalk succeeded in doing something even when a file doesn't even exist.
I'd expect it to exit as soon as it gets this error.
I'd expect it to do something like:
Impact
Not low.
Steps to Reproduce
Run
chalk extracton any non-existing file.