Add newline to error message

This commit is contained in:
Sue Spence 2015-08-24 23:19:08 +01:00
parent 3d7dc94c57
commit acddf29e45
1 changed files with 1 additions and 1 deletions

2
testdata/example.go vendored
View File

@ -37,7 +37,7 @@ func PollFeed(uri string, timeout int, cr xmlx.CharsetFunc) {
for { for {
if err := feed.Fetch(uri, cr); err != nil { if err := feed.Fetch(uri, cr); err != nil {
fmt.Fprintf(os.Stderr, "[e] %s: %s", uri, err) fmt.Fprintf(os.Stderr, "[e] %s: %s\n", uri, err)
return return
} }