Prepend function name when doing logging in readFromCacheDB

chubin/logging
Igor Chubin 2 years ago
parent c9fc3aa74a
commit 45900bc565

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

Loading…
Cancel
Save