Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop misleading error when recent project doesn't exist #539

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

GriffinRichards
Copy link
Collaborator

Currently, if the recent_project directory doesn't exist Porymap will try to open it anyway, and fail with an error message about the first thing it was unable to find. Right now that's the map layouts:

There was an error opening the project <project path>. Please see <log path> for full error details.

Failed to read map layouts from <project path>/data/layouts/layouts.json

Users have to close this message to open a project. Now Porymap will immediately open an empty project, and give a more helpful message in the status bar and as a warning in the log.

@GriffinRichards GriffinRichards merged commit 0148580 into huderlem:master Aug 19, 2023
3 checks passed
@GriffinRichards GriffinRichards deleted the recent-fail branch August 19, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant