Skip to content

Panics in Library Code #4

@swar09

Description

@swar09
  • src/wrapper.rssrc/persistence.rs
  • Issue: Uses .unwrap() and .expect() heavily. If a file is missing or corrupt, the whole application crashes.
  • Fix: Return Result<T, E> everywhere and propagate errors to the caller (especially important for Python bindings).

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