mirror of
https://github.com/chubin/wttr.in
synced 2025-01-12 03:58:45 +00:00
Prepend function name when doing logging in readFromCacheDB
This commit is contained in:
parent
c9fc3aa74a
commit
45900bc565
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue