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

errors: handle missing plugin caches #2093

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

har7an
Copy link
Contributor

@har7an har7an commented Jan 14, 2023

Changes how we create the necessary directories for the plugins (part of ~/.cache/zellij) and improves error reporting. Also updates the panix message to include more useful information.

Resolves #2092

@har7an har7an temporarily deployed to cachix January 14, 2023 06:33 — with GitHub Actions Inactive
@har7an har7an changed the title Errors/handle missing plugin caches errors: handle missing plugin caches Jan 14, 2023
in case they aren't existent and don't mark errors to do so as
non-fatal. The latter masks the underlying cause when e.g. the `.cache`
folder is, for some reason, not writable by zellij (See zellij-org#2092), whereas
the former fixes problems arising from the user having purged their
.cache/zellij folder entirely.
@har7an har7an force-pushed the errors/handle-missing-plugin-caches branch from 9ead39b to 990c6ad Compare January 19, 2023 17:46
@har7an har7an temporarily deployed to cachix January 19, 2023 17:46 — with GitHub Actions Inactive
@har7an har7an merged commit b274fc5 into zellij-org:main Jan 19, 2023
@har7an har7an deleted the errors/handle-missing-plugin-caches branch August 28, 2023 17:30
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.

Improve startup error handling and reporting for plugins
1 participant