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:
parent
85d48c8a71
commit
74c35ad000
3 changed files with 17 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue