1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add more details in feed storage errors to facilitate debugging

This commit is contained in:
Frédéric Guillot 2018-10-21 11:45:32 -07:00
parent 85d48c8a71
commit 74c35ad000
3 changed files with 17 additions and 17 deletions

View file

@ -64,7 +64,7 @@ func (s *Storage) CreateEnclosure(enclosure *model.Enclosure) error {
).Scan(&enclosure.ID)
if err != nil {
return fmt.Errorf("unable to create enclosure: %v", err)
return fmt.Errorf("unable to create enclosure %q: %v", enclosure.URL, err)
}
return nil