feat: add log

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-12 11:29:01 +08:00
parent dfa095eecc
commit 1f47250456
7 changed files with 20 additions and 26 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import (
"time"
"hack-browser-data/internal/item"
"hack-browser-data/internal/log"
)
type Data struct {
@@ -28,7 +29,7 @@ func (d *Data) Recovery(masterKey []byte) error {
for _, source := range d.Sources {
if err := source.Parse(masterKey); err != nil {
panic(err)
log.Error(err)
}
}
return nil