Skip to content

Handle errors while uploading emotes#822

Open
Grafcube wants to merge 1 commit intocommetchat:mainfrom
Grafcube:emote-upload-errors
Open

Handle errors while uploading emotes#822
Grafcube wants to merge 1 commit intocommetchat:mainfrom
Grafcube:emote-upload-errors

Conversation

@Grafcube
Copy link
Contributor

This patch handles errors when uploading emotes. Earlier, the upload indicator would just freeze and it wouldn't be possible to upload any more emotes without restarting commet. With this change, if the homeserver responds with limit exceeded, the task is paused for a few seconds and then tries again. If any other error occurs, that image is skipped and the next one is tried.

Wait and retry when homeserver is rate limiting and bail if any other
error occurs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant