Skip to content

RSSReader breaks down on shortener's error #3

Description

@mrshu

An important feature of RSSReader is sending the links in shortened form. This happens right before the link is sent https://github.com/errbotters/err-rssreader/blob/master/rssreader.py#L185

Sometimes, however, the shortener raises an exception. This is a pretty serious problem, as the cache never gets cleaned and the result is repeated sending of the same items over and over again.

Since we currently make use of just the is.gd shortener, fixing this should be as easy as handling the ShorteningErrorException correctly (just by returning from the function right away).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions