Skip to content

Fix retention permission error - #1496

Open
not-sekiun wants to merge 3 commits into
Delgan:masterfrom
not-sekiun:fix/retention-permission-error
Open

Fix retention permission error#1496
not-sekiun wants to merge 3 commits into
Delgan:masterfrom
not-sekiun:fix/retention-permission-error

Conversation

@not-sekiun

@not-sekiun not-sekiun commented Jul 30, 2026

Copy link
Copy Markdown

As per #1495 I made the changes to catch and swallow PermissionError + added some tests to test that PermissionErrors do not propagate unhandled. Since logfile deletion is more a best case rather than hard guarantee thing I figured it would be more idiomatic to simply catch and pass.

The catch is a bit broad though since if it triggers on nix systems it also gets swallowed vs on Windows where the PermissionError might be a bit more common, i dont know your preference so just let me know what changes youd like to handle that case

@not-sekiun not-sekiun changed the title Fix/retention permission error Fix retention permission error Jul 30, 2026
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