Skip to content

Add better error reporting for Grouper interactions. #16

Description

Something mentioned to me in Slack by Mark Fischer:

"Just a note from debugging my own interactions with grouper, tossing a try: except block around the json decoding, and then printing the raw response from grouper in the exception handling helped a lot in debugging."

This could be used anywhere an rsp.json() call is being made to parse a Grouper REST response, e.g. in grouper_query.py and in the synchronize() method in delta.py.

Benefit would be more visibility for Mark's team over in UITS if/when Grouper barfs on a request, which has happened occasionally.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions