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

fix: Improve error handling in browsing data and file copying functions #261

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

moonD4rk
Copy link
Owner

@moonD4rk moonD4rk commented Jan 9, 2024

Fix the bug that causes the program to unexpectedly exit when unable to open a file for copying.

This error mainly occurs when the database file is being used by another process, especially in the case of files storing cookies.

Currently, only skipping the error is possible; other methods are required for a complete fix.

Close

Ref

- Improve error handling in browsingdata.go Recovery function
- Add logging for file copy errors in chromium.go
- Modify copyItemToLocal function to continue copying files on error
@moonD4rk moonD4rk marked this pull request as ready for review January 9, 2024 12:36
@moonD4rk moonD4rk merged commit 58bca21 into master Jan 9, 2024
2 checks passed
@moonD4rk moonD4rk deleted the fix/open-cookie-failed branch January 9, 2024 13:31
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.

None yet

1 participant