What
If restoring a previous session fails, Claude Code prints an explicit exit message naming the underlying error and pointing you at claude --resume to pick a session or start a new one, then exits with status 1. Previously the failure was only logged and the process carried on silently.
Details
- Exit is recorded with reason
"other".
Evidence
Run claude --resume to pick a session, or start a new one.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundle--continue--resume
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on Common workflows touched a line naming --resume after this was published.
| [`/loop`](/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is open. `--resume` and `--continue` restore unexpired fixed-interval loops. |common-workflows see the edit
Added since
A small documentation edit on Common workflows touched a line naming --continue after this was published.
| [`/loop`](/docs/en/scheduled-tasks) | The current CLI session | Quick polling while a session is open. `--resume` and `--continue` restore unexpired fixed-interval loops. |common-workflows see the edit
Confirmed since
Anthropic's documentation has since written up --resume, on Claude Code changelog.
* Improved `--continue` / `--resume`: the conversation appears immediately instead of waiting for SessionStart hooks, and the first message no longer re-reads the whole transcriptchangelog see the edit
Confirmed since
Anthropic's documentation has since written up --continue, on Claude Code changelog.
* Improved `--continue` / `--resume`: the conversation appears immediately instead of waiting for SessionStart hooks, and the first message no longer re-reads the whole transcriptchangelog see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up --continue, on Claude Code changelog.