escape Mastodon API Errors & Mastodon Network Errors #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: juergen/ticketfrei#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @b3yond Posted at: 29.12.2017 17:28
If there are problems with the Mastodon server, usually our bot crashes too. Several tracebacks to track down the issue:
I'm not sure if the Mastodon library treats Errors properly - I think the last time I tried to fix this, I couldn't escape them. Maybe try to look it up in the git history.
Author: @b3yond Posted at: 26.03.2018 19:26
the library does not allow to except those 2 errors specifically. A shame. For now, I escaped the statements where they can be raised, so nothing breaks when the mastodon instance is having problems.