-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Minor fixes to the survey metrics
- use `.get` to check whether this is an enketo survey so that it works for older deployments that predate the `survey_info` functionality as well. This has no functional difference since, if there is no `survey_info`, this is not a survey. But we get a better exception and avoid confusion later. - improve error handling for survey_responses, by splitting the attribute and name errors from the more complex errors
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters