You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc1503c
Browse filesBrowse the repository at this point in the historyBrowse files
Report an unreadable input, rather than tracebacking out of the CLI (#73)
Four reads could raise a type their caller did not catch, so a directory,
an unreadable file or a non-UTF-8 one exited 1 with a traceback where the
contract promises exit 2 and a document: _existing_trace tested exists()
while the handlers catch only TraceReadError, and two read_text calls sat
outside their decoders' except (UnicodeDecodeError is a ValueError, so
neither would ever have caught it). The config case is the worst of them,
because grapharc.toml is picked up implicitly from the working directory.
plan --approve also printed its park notice ahead of the JSON document,
which made the whole output unparseable on the flag most likely to be
driven unattended; the notice is now silent in JSON mode and unchanged
for a human.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments