Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle exceptions gracefully in disk usage retrieval
Updated the refresh_info method to handle exceptions that may occur during disk usage retrieval using psutil.disk_usage(). Added try-except block to catch any exceptions, such as permission errors, and continue processing other partitions if an exception occurs. Error messages are printed for each partition where an exception occurs to aid in debugging.
- Loading branch information