mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
fix(googlereader): avoid panic for inexisting feed or category
This commit is contained in:
parent
81c7669945
commit
63f0a17388
2 changed files with 14 additions and 1 deletions
|
@ -192,7 +192,7 @@ func (s *Storage) CreateCategory(userID int64, request *model.CategoryCreationRe
|
|||
)
|
||||
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf(`store: unable to create category %q: %v`, request.Title, err)
|
||||
return nil, fmt.Errorf(`store: unable to create category %q for user ID %d: %v`, request.Title, userID, err)
|
||||
}
|
||||
|
||||
return &category, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue