Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Added try catch to api requests to avoid failed backups#20

Open
czerwony03 wants to merge 1 commit intoedgraaff:masterfrom
czerwony03:axios_try_catch
Open

Added try catch to api requests to avoid failed backups#20
czerwony03 wants to merge 1 commit intoedgraaff:masterfrom
czerwony03:axios_try_catch

Conversation

@czerwony03
Copy link
Copy Markdown

No description provided.

@edgraaff
Copy link
Copy Markdown
Owner

Hello! Thanks for the addition. Can you explain though what went wrong for you, needing the try/catch?

@czerwony03
Copy link
Copy Markdown
Author

Hello, I was getting some 404 and 500 errors during backups. Errors appeared on same chat page number/image number during retry. I had to add try/catch, so I could finish backup. Without those try/catch blocks backup was failing and did not continue (next messages/images/index.html creation)
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants