Skip to content

swaig-test: surface backtrace on load errors #37

Description

@cassieemb

Summary

When loading an agent file raises, the CLI prints only the error class/message with no location, so users can't find the failing line.

Where

bin/swaig-test (the rescue around file loading; grep Error loading).

Directive

Include e.backtrace (at least under --verbose; ideally the first few frames always) so the offending file:line is shown.

Acceptance

  • a deliberate error in a loaded file prints its file:line

Verify

Point the CLI at a file that raises on load; confirm the location appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions