diff options
Diffstat (limited to 'reader/subscription')
-rw-r--r-- | reader/subscription/finder.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/reader/subscription/finder.go b/reader/subscription/finder.go index 8e361b7..4e2879a 100644 --- a/reader/subscription/finder.go +++ b/reader/subscription/finder.go @@ -33,6 +33,9 @@ func FindSubscriptions(websiteURL string) (Subscriptions, error) { client := http.NewClient(websiteURL) response, err := client.Get() if err != nil { + if _, ok := err.(errors.LocalizedError); ok { + return nil, err + } return nil, errors.NewLocalizedError(errConnectionFailure, err) } |