Skip to content

source throws a traceback instead of signalling a operator error if called with no tile selected #5617

Open
DFHack/scripts
#1629

Description

@ab9rf

Instead of throwing a traceback the tool should signal a useful error with advice on how to correct the error

discussion on steam

Activity

  1. quietust commented on Nov 17, 2025

    @quietust
    Member

    See also #5582

  2. Alistair-Afton commented on Sep 16, 2026

    @Alistair-Afton
    Contributor

    @ab9rf Fixed in DFHack/scripts#1629. The cursor is now validated before the source lookup, so the intended operator error is shown instead of a traceback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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