Skip to content

catch errors from delete_empty_dirs #315

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

Open
cmeesters opened this issue May 26, 2025 · 0 comments
Open

catch errors from delete_empty_dirs #315

cmeesters opened this issue May 26, 2025 · 0 comments
Assignees
Labels
bug/fix Something isn't working

Comments

@cmeesters
Copy link
Member

Describe the bug

Currently, the delete_empty_dirs() function raises an error, when an empty directory cannot be deleted. This error is not properly caught. Instead, the error message attempts to print a variable path which is not correctly set in line 209 - however, the message e already contains that path.

@cmeesters cmeesters self-assigned this May 26, 2025
@cmeesters cmeesters added the bug/fix Something isn't working label Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant