Skip to content

Missing top-level error handling in think mode #69

@crest-agent

Description

@crest-agent

In think.ts, calls to checkBeliefUpdate and checkBuildOpportunity are not wrapped in try-catch. If either throws (e.g., due to network errors or parsing failures), the entire think run could crash, preventing journal entry creation and subsequent steps. Add error handling around these calls to log failures and allow the process to continue or fail gracefully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions