From ca686ec2a57e688186087b0481e3b18e7af3654a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8D=E1=B4=8F=E1=B4=8F=C9=B4D4=CA=80=E1=B4=8B?= Date: Sat, 1 Aug 2020 02:44:16 +0800 Subject: [PATCH] pass ci test --- core/browser.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/browser.go b/core/browser.go index e9f80c9..35f389a 100644 --- a/core/browser.go +++ b/core/browser.go @@ -121,7 +121,7 @@ func (c *Chromium) GetAllItems(itemName string) (Items []common.Item, err error) } else if item, ok := chromiumItems[itemName]; ok { m, err := utils.GetItemPath(c.profilePath, item.mainFile) if err != nil { - log.Errorf("%s find %s file failed, ERR: ", c.name, item, err) + log.Errorf("%s find %s file failed, ERR:%s", c.name, item.mainFile, err) } i := item.newItem(m, "") items = append(items, i) @@ -175,12 +175,12 @@ func (f *Firefox) GetAllItems(itemName string) ([]common.Item, error) { if item.subFile != "" { sub, err = utils.GetItemPath(f.profilePath, item.subFile) if err != nil { - log.Errorf("%s find %s file failed, ERR:", f.name, item, err) + log.Errorf("%s find %s file failed, ERR:%s", f.name, item.subFile, err) } } main, err = utils.GetItemPath(f.profilePath, item.mainFile) if err != nil { - log.Errorf("%s find %s file failed, ERR:%s", f.name, item, err) + log.Errorf("%s find %s file failed, ERR:%s", f.name, item.mainFile, err) } i := item.newItem(main, sub) log.Debugf("%s find %s file success", f.name, item.mainFile)