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

- 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
This commit is contained in:
moonD4rk
2024-01-09 20:27:52 +08:00
committed by ᴍᴏᴏɴD4ʀᴋ
parent 5a34d1c176
commit 58bca21713
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -41,6 +41,7 @@ func (d *Data) Recovery(masterKey []byte) error {
for _, source := range d.sources {
if err := source.Parse(masterKey); err != nil {
log.Errorf("parse %s error %s", source.Name(), err.Error())
continue
}
}
return nil