Error Models #2

Closed
opened 2024-02-08 12:19:49 +00:00 by corbz · 2 comments
Owner

Create database models to store error information when fetching content from a subscription fails.

This process is done via the bot, so an API endpoint should be available to submit this error.

The purpose is that we can display this error at a later date.


Some examples of logged error scenarios could include:

  • the bot doesn't have permissions to operate in a specified server or channel
  • an RSS url response contains an error or invalid HTTP status code (404, 500, etc)
  • a user with insufficient permissions attempted to use the API.
Create database models to store error information when fetching content from a subscription fails. This process is done via the bot, so an API endpoint should be available to submit this error. The purpose is that we can display this error at a later date. ---- Some examples of logged error scenarios could include: - the bot doesn't have permissions to operate in a specified server or channel - an RSS url response contains an error or invalid HTTP status code (404, 500, etc) - a user with insufficient permissions attempted to use the API.
corbz added the
enhancement
label 2024-02-08 12:19:49 +00:00
corbz added this to the PYRSS project 2024-02-08 12:19:49 +00:00
Author
Owner

Maybe this should be implemented as a logging module instead, for users to read from (no sensitive data)

Maybe this should be implemented as a logging module instead, for users to read from (no sensitive data)
Author
Owner

This seems a bit advanced for the current state of the project, so I'll close for now, as #6 should be close enough to sufficient in what this issue wants to achieve.

I may reopen this in the future, when the website is mostly complete, and only some work needs to be done to the bot itself.

This seems a bit advanced for the current state of the project, so I'll close for now, as #6 should be close enough to sufficient in what this issue wants to achieve. I may reopen this in the future, when the website is mostly complete, and only some work needs to be done to the bot itself.
corbz closed this issue 2024-04-26 22:37:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/PYRSS-Website#2
No description provided.