-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide message when record not found
Why are these changes being introduced: * when a recordId query was run but no record was found, the application through a 500 error * expected behavior would be to return a message to the user that the record they requested was not found Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-197 How does this address that need: * This fixes a copy/paste error where we were looking for an ElasticSearch Not Found error rather than an OpenSearch Not Found error in the GraphQL for v2 logic
- Loading branch information
Showing
3 changed files
with
93 additions
and
1 deletion.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.