Skip to content

Crashes when trying to open a non-existent project #25

Description

@shulltronics

By default, the app tries to restore its former state when launched. This includes trying to open the former project. If the project has been deleted, the app will crash. Here is some output from the logs:

2024-06-14T15:23:27.376391Z  INFO iron_coder::app: Reloading current project and assets...
2024-06-14T15:23:27.377787Z  INFO iron_coder::project: saving project file to C:\Users\carst\Documents\Iron Coder Projects\rp2040_display\rp2040_display\.ironcoder.toml
thread 'main' panicked at src\project\mod.rs:152:25:
Error saving project: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions