aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/opml
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-02-27 21:19:59 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-02-27 21:19:59 -0800
commitf110384f113002ad022c677ea138a0f77fad4a62 (patch)
tree059d6a98b636715855aa13c7512c103c447c865c /reader/opml
parent953d0a2dc05714c22f7c9c389a860fd38c07b66e (diff)
Improve parser error messages
Diffstat (limited to 'reader/opml')
-rw-r--r--reader/opml/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/opml/parser.go b/reader/opml/parser.go
index b167d47..93f2f25 100644
--- a/reader/opml/parser.go
+++ b/reader/opml/parser.go
@@ -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