Prepend function name when doing logging in readFromCacheDB

This commit is contained in:
Igor Chubin 2022-12-18 16:27:12 +01:00
parent c9fc3aa74a
commit 45900bc565

View file

@ -151,7 +151,7 @@ func (c *Cache) readFromCacheDB(addr string) (*Location, error) {
} }
if err != nil { if err != nil {
return nil, err return nil, fmt.Errorf("readFromCacheDB: %w", err)
} }
return &result, nil return &result, nil