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