mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Improve parser error messages
This commit is contained in:
parent
953d0a2dc0
commit
f110384f11
11 changed files with 61 additions and 61 deletions
|
@ -21,7 +21,7 @@ func Parse(data io.Reader) (*model.Feed, *errors.LocalizedError) {
|
|||
|
||||
err := decoder.Decode(atomFeed)
|
||||
if err != nil {
|
||||
return nil, errors.NewLocalizedError("Unable to parse Atom feed: %v.", err)
|
||||
return nil, errors.NewLocalizedError("Unable to parse Atom feed: %q", err)
|
||||
}
|
||||
|
||||
return atomFeed.Transform(), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue