Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch and process exceptions and errors #1

Open
3 tasks
papaj-na-wrotkach opened this issue Sep 30, 2023 · 0 comments
Open
3 tasks

catch and process exceptions and errors #1

papaj-na-wrotkach opened this issue Sep 30, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@papaj-na-wrotkach
Copy link
Owner

papaj-na-wrotkach commented Sep 30, 2023

For now the app assumes that all of the requests will return desired response not taking into account cases where:

  • there's not internet connection
  • FlareSolverr hits timeout or simply isn't successful with bypassing Cloudflare
  • FlareSolverr or Komga is not running on provided address
    and many others

The app should be smart enough to handle such situations:

  • FlareSolverr timeout or other temporary failures:
    • destroy existing session
    • recreate session (automatically)
    • resend the request
    • error if request still isn't successful
  • FlareSolverr/Komga not accessible for some reason:
    • throw adequate error
  • Komga unathorized errors
    • throw adequate error
@papaj-na-wrotkach papaj-na-wrotkach added the enhancement New feature or request label Sep 30, 2023
@papaj-na-wrotkach papaj-na-wrotkach self-assigned this Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant