Skip to content

refactor(cli): extract epochs ConfigError handling into a shared helper and polish the message #152

Description

@jeqcho

Follow-up to #145, which was fixed by #146. Two PRs raced on that issue and each got something right; this issue collects what the merged one left on the table.

Current state after #146: _cmd_run and _cmd_eval_set each carry an inline try/except ConfigError around their replace(task, epochs=...) call, with the ConfigError import repeated mid-function in both.

Wanted:

Small and self-contained; a good second contribution for anyone who worked on #145.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions