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

fix: add callback for when recording fails #1940

Merged
merged 7 commits into from
Sep 8, 2021

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Sep 7, 2021

The callback does not trigger in cases of 40x from the backend.

Update:
image

recording.oneerror.mov

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 7, 2021

🚀 Deployed on https://pr-1940--dhis2-dashboard.netlify.app

src/pages/view/TitleBar/ActionsBar.js Outdated Show resolved Hide resolved
@jenniferarnesen jenniferarnesen merged commit 1992521 into master Sep 8, 2021
@jenniferarnesen jenniferarnesen deleted the fix/cb-for-failed-record branch September 8, 2021 07:14
dhis2-bot added a commit that referenced this pull request Sep 9, 2021
## [31.19.6](v31.19.5...v31.19.6) (2021-09-09)

### Bug Fixes

* **deps:** use latest app scripts to fix infinite update err ([#1949](#1949)) ([c3be283](c3be283))
* add background graphics to the print text (DHIS2-11725) ([#1948](#1948)) ([9588ec5](9588ec5))
* add callback for when recording fails due to network errors ([#1940](#1940)) ([1992521](1992521))
* make option to remove from cache available while offline ([#1946](#1946)) ([33afbc7](33afbc7))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 31.19.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

jenniferarnesen added a commit that referenced this pull request Sep 10, 2021
The callback does not get triggered by server errors (40x, 50x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants