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

Handle rejected pushes gracefully #894

Merged
merged 6 commits into from Aug 28, 2019
Merged

Handle rejected pushes gracefully #894

merged 6 commits into from Aug 28, 2019

Conversation

dbrgn
Copy link
Contributor

@dbrgn dbrgn commented Aug 27, 2019

If a push was rejected with a HTTP 400 response (which can indicate an
expired push token), don't show a protocol error. Instead, offer to
forget & recreate the session.

Before this PR, a protocol error was shown.

If a push was rejected with a HTTP 400 response (which can indicate an
expired push token), don't show a protocol error. Instead, offer to
forget & recreate the session.
@dbrgn dbrgn added bug It's a bug! connectivity Related to connectivity to the app labels Aug 27, 2019
@dbrgn dbrgn requested a review from lgrahl August 27, 2019 13:45
src/partials/dialog.push-rejected.html Outdated Show resolved Hide resolved
src/services/push.ts Show resolved Hide resolved
src/exceptions.ts Outdated Show resolved Hide resolved
@dbrgn dbrgn requested a review from lgrahl August 27, 2019 15:19
@dbrgn dbrgn merged commit eeeb565 into master Aug 28, 2019
@dbrgn dbrgn deleted the push-rejection branch August 28, 2019 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug! connectivity Related to connectivity to the app
Development

Successfully merging this pull request may close these issues.

None yet

3 participants